intel: Add is_hiz_depth_format() to intel_contex.vtbl
authorChad Versace <chad@chad-versace.us>
Mon, 23 May 2011 20:47:57 +0000 (13:47 -0700)
committerChad Versace <chad@chad-versace.us>
Wed, 25 May 2011 14:41:32 +0000 (07:41 -0700)
commita9e65097855468529242f9076bd6ef2a6c8062c1
tree1e4c3ef3a0364b128960c5e63c886e466636c9c2
parent1a1411e09b23fce9977f7926dba4f1f0c8f3c5ec
intel: Add is_hiz_depth_format() to intel_contex.vtbl

Given a format, is_hiz_depth_format() indicates if HiZ can be enabled on
a depthbuffer of that format.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chad Versace <chad@chad-versace.us>
src/mesa/drivers/dri/i915/i915_vtbl.c
src/mesa/drivers/dri/i965/brw_vtbl.c
src/mesa/drivers/dri/intel/intel_context.h