Re: [Mesa-dev] [PATCH] nv50, nvc0: fix blit 3d path for 1d array textures

2014-05-11 Thread Ben Skeggs
On Sun, May 11, 2014 at 7:53 AM, Ilia Mirkin wrote: > Need to adjust coordinates since the shader receives the array index as > depth in z, but the TEX instruction expects it to be the second > coordinate for a 1D array texture. This fixes fbo-generatemipmap-array. > > Signed-off-by: Ilia Mirkin

[Mesa-dev] [PATCH] nv50, nvc0: fix blit 3d path for 1d array textures

2014-05-10 Thread Ilia Mirkin
Need to adjust coordinates since the shader receives the array index as depth in z, but the TEX instruction expects it to be the second coordinate for a 1D array texture. This fixes fbo-generatemipmap-array. Signed-off-by: Ilia Mirkin Cc: "10.2" --- src/gallium/drivers/nouveau/nv50/nv50_surface