i965: Mark that depth buffer needs depth resolve after drawing
authorChad Versace <chad.versace@linux.intel.com>
Wed, 16 Nov 2011 02:20:43 +0000 (18:20 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Tue, 22 Nov 2011 18:50:51 +0000 (10:50 -0800)
commit1b2baf3b08d545c772e9636fb0a0614c489c3916
tree90d0692019e229ca95c93cf30ad136ffb3a6d6c1
parent622bae07a5da91bc966d173fd6df92a640e4f574
i965: Mark that depth buffer needs depth resolve after drawing

After brw_try_draw_prims() emits a batch, mark that the depth buffer needs
a depth resolve if the buffer was written to and if it has an accompanying
HiZ buffer.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_draw.c