Re: [Mesa-dev] [PATCH 03/11] i965: Move has_hiz from the slice to the level.

2014-05-05 Thread Chad Versace
On Thu, May 01, 2014 at 03:57:28PM -0700, Kenneth Graunke wrote: On 05/01/2014 02:21 PM, Eric Anholt wrote: The value depends only on the level, so no need to store the bool per slice. Shrinks intel_mipmap_slice from 24 bytes to 16, while slotting into an existing hole in

[Mesa-dev] [PATCH 03/11] i965: Move has_hiz from the slice to the level.

2014-05-01 Thread Eric Anholt
The value depends only on the level, so no need to store the bool per slice. Shrinks intel_mipmap_slice from 24 bytes to 16, while slotting into an existing hole in intel_mipmap_level. --- src/mesa/drivers/dri/i965/brw_blorp.cpp | 2 +- src/mesa/drivers/dri/i965/brw_misc_state.c| 2 +-

Re: [Mesa-dev] [PATCH 03/11] i965: Move has_hiz from the slice to the level.

2014-05-01 Thread Kenneth Graunke
On 05/01/2014 02:21 PM, Eric Anholt wrote: The value depends only on the level, so no need to store the bool per slice. Shrinks intel_mipmap_slice from 24 bytes to 16, while slotting into an existing hole in intel_mipmap_level. Huh. I thought that we needed to disable HiZ for array slices