i965: Move has_hiz from the slice to the level.
authorEric Anholt <eric@anholt.net>
Wed, 23 Apr 2014 21:21:21 +0000 (14:21 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 12 May 2014 16:49:18 +0000 (09:49 -0700)
commit11bef60d0932649bbbb95a3518d3b7de06dd2938
tree3797c0be40a037111c50e71170a8d12b0a0b4c0e
parent4dc9c314c89c011aee3c33997cbc9cd6bc78674f
i965: Move has_hiz from the slice to the level.

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.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_blorp.cpp
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/intel_fbo.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.h