mesa/src
Chad Versace 2d3bbc576c intel: Replace checks for hiz_mt with intel_has*hiz()
When appropriate, replace each check `hiz_mt != NULL` with either a call
to intel_miptree_slice_has_hiz() or intel_renderbuffer_has_hiz().  No
behavioral change.

This prepares for selectively enabling hiz on individual miptree slices
for Haswell.

This refactoring had several side effects.

  1. To prevent new warnings about discarding the const qualifier,
     I removed 'const' from some variable declarations in
     intel_validate_framebuffer().  The alternative was to add const
     qualifiers to multiple function signatures in the
     intel_renderbuffer_has_hiz call graph. Since the dominant convention
     in the Intel code is to not qualify function parameters as const,
     I chose to remove rather than add const qualifiers.

  2. I changed the signature of brw_emit_depth_stencil_hiz() by replacing
     `struct intel_mipmap_tree *hiz_mt` with `bool hiz`. The function used
     hiz_mt mostly as a boolean indicator of the presence of hiz, so the
     signature change is consistent with the patch's goal.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2013-04-10 10:55:10 -07:00
..
egl egl_dri2: Lower __DRI_IMAGE version requirement back to 1 2013-03-19 16:13:38 -04:00
gallium radeonsi: remove sampler writemask v3 2013-04-10 10:41:29 +02:00
gbm gbm: Remember to init format on gbm_dri_bo_create. 2013-02-07 20:00:52 -05:00
getopt
glsl glsl/linker: Reduce scope of non-flat integer varying fix. 2013-04-09 10:37:16 -07:00
glx Honor GLX_DONT_CARE in MATCH_MASK 2013-04-05 14:32:45 -07:00
gtest
mapi glapi: fix storage multisample build errors 2013-03-31 20:41:28 +10:00
mesa intel: Replace checks for hiz_mt with intel_has*hiz() 2013-04-10 10:55:10 -07:00
Makefile.am
SConscript