Re: [Mesa-dev] [PATCH] nv50/ir: process texture offset sources as regular sources

2016-10-19 Thread Samuel Pitoiset
I'm aware of that CTS fail, and according to the GLSL shader this makes sense. I would like to run a quick piglit before you push it, but I'm confident with that change. :-) Reviewed-by: Samuel Pitoiset On 10/19/2016 07:22 AM, Ilia Mirkin wrote: With ARB_gpu_shader5, texture offsets can be

[Mesa-dev] [PATCH] nv50/ir: process texture offset sources as regular sources

2016-10-18 Thread Ilia Mirkin
With ARB_gpu_shader5, texture offsets can be any source, including TEMPs and IN's. Make sure to process them as regular sources so that we pick up masks, etc. This should fix some CTS tests that feed offsets directly to textureGatherOffset, and we were not picking up the input use, thus not advert