intel: Fix intel_draw_buffer() to accomodate hiz and separate stencil
authorChad Versace <chad@chad-versace.us>
Mon, 23 May 2011 20:47:42 +0000 (13:47 -0700)
committerChad Versace <chad@chad-versace.us>
Wed, 25 May 2011 14:41:32 +0000 (07:41 -0700)
commitce8fdf666fc14aa5b9672be1711dfc1c0039efd0
tree06a72fd6c95df805ed6482df18686f3d29e9fdd6
parentc270f1a628a625ccc9f6d931f2921e3d92c31818
intel: Fix intel_draw_buffer() to accomodate hiz and separate stencil

The logic of intel_draw_buffers() expected that stencil buffers were
always combined depth/stencil.

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