Re: [Mesa-dev] [PATCH] r600g: Implement gpu_shader5 textureGather

2014-08-01 Thread Marek Olšák
Pushed, thanks. Marek On Sun, Jul 20, 2014 at 3:59 PM, Glenn Kennard wrote: > Adds 0-3 textureGather component selection and non-constant offsets > > Caveat: 0 and 1 texture swizzles only work if textureGather component > select is 3 or a component that does not exist in the sampler texture > fo

[Mesa-dev] [PATCH] r600g: Implement gpu_shader5 textureGather

2014-07-20 Thread Glenn Kennard
Adds 0-3 textureGather component selection and non-constant offsets Caveat: 0 and 1 texture swizzles only work if textureGather component select is 3 or a component that does not exist in the sampler texture format. This is a hardware limitation, any other value returns 128/255=0.501961 for both 0