Re: [Mesa-dev] [PATCH] i965: Only magnify depth for 3D textures, not array textures.

2016-03-03 Thread Ilia Mirkin
On Thu, Mar 3, 2016 at 6:44 PM, Kenneth Graunke wrote: > When BaseLevel > 0, we magnify the dimensions to fill out the size of > miplevels [0..BaseLevel). In particular, this was magnifying depth, > thinking that the depth doubles at each level. This is perfectly > reasonable for 3D textures, bu

Re: [Mesa-dev] [PATCH] i965: Only magnify depth for 3D textures, not array textures.

2016-03-03 Thread Matt Turner
Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] i965: Only magnify depth for 3D textures, not array textures.

2016-03-03 Thread Kenneth Graunke
When BaseLevel > 0, we magnify the dimensions to fill out the size of miplevels [0..BaseLevel). In particular, this was magnifying depth, thinking that the depth doubles at each level. This is perfectly reasonable for 3D textures, but dead wrong for array textures. Changing the depth != 1 condit