OSDN Git Service

i965: Change signature of brw_get_depthstencil_tile_masks()
authorChad Versace <chad.versace@linux.intel.com>
Fri, 5 Apr 2013 21:29:53 +0000 (14:29 -0700)
committerChad Versace <chad.versace@linux.intel.com>
Wed, 10 Apr 2013 17:55:10 +0000 (10:55 -0700)
commit5b79705526efdb3d9b919634ff0e3e412b707b92
tree5ba36a355208aa301232629a9f8523cdfe836a6d
parent87f4541bc1007dda1e345c16db94672620bc8fb2
i965: Change signature of brw_get_depthstencil_tile_masks()

Add new parameters `depth_level` and `depth_layer`, which specify depth
miptree's slice of interest.  A following patch will pass the new
parameters through to intel_miptree_slice_has_hiz().

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/gen6_blorp.cpp
src/mesa/drivers/dri/i965/gen7_blorp.cpp