Re: [Mesa-dev] [PATCH v2] nir: fix sampler lowering pass for arrays

2015-05-11 Thread Jason Ekstrand
On Mon, May 11, 2015 at 4:50 AM, Tapani Pälli wrote: > This fixes bugs with special cases where we have arrays of > structures containing samplers or arrays of samplers. > > I've verified that patch results in calculating same index value as > returned by _mesa_get_sampler_uniform_value for IR. Pa

[Mesa-dev] [PATCH v2] nir: fix sampler lowering pass for arrays

2015-05-11 Thread Tapani Pälli
This fixes bugs with special cases where we have arrays of structures containing samplers or arrays of samplers. I've verified that patch results in calculating same index value as returned by _mesa_get_sampler_uniform_value for IR. Patch makes following ES3 conformance test pass: ES3-CTS