i965/gen4-5: Fix segfaults with stencil-only depth/stencil setups.
authorEric Anholt <eric@anholt.net>
Mon, 26 Nov 2012 22:46:11 +0000 (14:46 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 28 Nov 2012 19:26:41 +0000 (11:26 -0800)
commitc8ed9f6262a73849a64c55bcfaac2a50e42e0945
tree9d53b22faacf1ab1d65f84b55b45c3bd91c6bddb
parentb9b033d8e456228fb05c5e28f85323de40f3292f
i965/gen4-5: Fix segfaults with stencil-only depth/stencil setups.

Fixes a ton of piglit regressions since the depthstencil fixes for gen6+.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57309
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_misc_state.c