Re: [Mesa-dev] [PATCH 02/11] mesa: Add a new function for getting the nonconst sampler array index

2014-08-12 Thread Chris Forbes
Landed patches 1 & 2 to avoid holding up the nouveau enabling of this feature while waiting for review on the i965 bits. On Sun, Aug 10, 2014 at 2:22 PM, Ilia Mirkin wrote: > On Sat, Aug 9, 2014 at 10:14 PM, Chris Forbes wrote: >> If the array index is not a constant expression, the existing sup

Re: [Mesa-dev] [PATCH 02/11] mesa: Add a new function for getting the nonconst sampler array index

2014-08-09 Thread Ilia Mirkin
On Sat, Aug 9, 2014 at 10:14 PM, Chris Forbes wrote: > If the array index is not a constant expression, the existing support > will assume a zero offset (giving us the sampler index of the base of > the array). > > For dynamically uniform indexing of sampler arrays, we need both that > and the ind

[Mesa-dev] [PATCH 02/11] mesa: Add a new function for getting the nonconst sampler array index

2014-08-09 Thread Chris Forbes
If the array index is not a constant expression, the existing support will assume a zero offset (giving us the sampler index of the base of the array). For dynamically uniform indexing of sampler arrays, we need both that and the indexing expression. Signed-off-by: Chris Forbes --- src/mesa/pro