Re: [Mesa-dev] [PATCH] nv50/ir: fix indirect texturing for non-array textures on nvc0

2016-03-20 Thread Samuel Pitoiset
On 03/20/2016 06:47 PM, Ilia Mirkin wrote: If a layer parameter is provided, we want to flip it to position 0 (and combine it with any indirect params). However if the target is not an array, there is no layer, so we have to shift all of the arguments down by one to make room for it. This fixe

[Mesa-dev] [PATCH] nv50/ir: fix indirect texturing for non-array textures on nvc0

2016-03-20 Thread Ilia Mirkin
If a layer parameter is provided, we want to flip it to position 0 (and combine it with any indirect params). However if the target is not an array, there is no layer, so we have to shift all of the arguments down by one to make room for it. This fixes situations where there were non-coordinate pa