i915: Make stencil test for no-stencil handling match depth test.
authorEric Anholt <eric@anholt.net>
Tue, 12 Jul 2011 17:57:51 +0000 (10:57 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 18 Jul 2011 18:26:33 +0000 (11:26 -0700)
commit79fee3a76b7f4f63d01266fc3a3cd6ca44d1e513
tree0ca80070f945ff69816707a1fa568af8c7c7d564
parentfc4fba52cf7e9616c70dd76b4d6bdba6582e157b
i915: Make stencil test for no-stencil handling match depth test.

i915_update_draw_buffers() already handles the fallback bit for
missing stencil region, so here we just need to handle whether the GL
thinks we have stencil data or not (and disable the test if so).
src/mesa/drivers/dri/i915/i915_state.c
src/mesa/drivers/dri/i915/i915_vtbl.c