r600g,radeonsi: force fast stencil and HTILE stencil off, fixing a Hyper-Z hang
authorMarek Olšák <marek.olsak@amd.com>
Sat, 23 Aug 2014 00:03:58 +0000 (02:03 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 1 Sep 2014 19:18:51 +0000 (21:18 +0200)
commitab9ad9177981757e7f1d17c61fd123855620c875
treeeec679c15046feac3c82af4d3029ff3a92ac3cde
parentba14d4910c946aeba39b43ac0dce9c2a76f49b30
r600g,radeonsi: force fast stencil and HTILE stencil off, fixing a Hyper-Z hang

This should be as fast as no HTILE for stencil. I think we can still get full
performance with depth-only rendering even if stencil is present in the buffer
but not used, but I'm not 100% sure. This may be revisited when HiS and fast
stencil clear are implemented.

This fixes a hang in Brutal Legend.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=64471

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/radeonsi/si_state.c