i965/brw: Emit state for hiz and separate stencil buffers
authorChad Versace <chad@chad-versace.us>
Mon, 23 May 2011 20:48:28 +0000 (13:48 -0700)
committerChad Versace <chad@chad-versace.us>
Wed, 8 Jun 2011 17:06:39 +0000 (10:06 -0700)
commit2abc8cae87b4cd037ebde68b4b9a1d02254657df
tree6c11ba80d59b3423befc7a2c5e3b47e2ea4963af
parent6b492d09767531915aa631bec470af1cf4653a6c
i965/brw: Emit state for hiz and separate stencil buffers

When emitting 3DSTATE_DEPTH_BUFFER, also emit 3DSTATE_HIER_DEPTH_BUFFER if
there is a hiz buffer. Ditto for 3DSTATE_STENCIL_BUFFER and a separate
stencil buffer.

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/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c