summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2015-12-10 01:40:14 +0100
committerMarek Olšák <marek.olsak@amd.com>2015-12-11 15:25:12 +0100
commit96e8d38ac4da27beccab9f5f735a50fe8f84cd66 (patch)
treecf9b2a7ba0d137d9e8346a4e94d5dfc9d69eabe4 /src/gallium
parentd3c08309abd17b6e0d466b677af57e3cc74b0e00 (diff)
downloadexternal_mesa3d-96e8d38ac4da27beccab9f5f735a50fe8f84cd66.zip
external_mesa3d-96e8d38ac4da27beccab9f5f735a50fe8f84cd66.tar.gz
external_mesa3d-96e8d38ac4da27beccab9f5f735a50fe8f84cd66.tar.bz2
r600g: re-enable Hyper-Z for stencil on Evergreen & Cayman
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r600/evergreen_state.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c
index 78fe87e..0f628ee 100644
--- a/src/gallium/drivers/r600/evergreen_state.c
+++ b/src/gallium/drivers/r600/evergreen_state.c
@@ -1833,10 +1833,7 @@ static void evergreen_emit_db_misc_state(struct r600_context *rctx, struct r600_
unsigned db_count_control = 0;
unsigned db_render_override =
S_02800C_FORCE_HIS_ENABLE0(V_02800C_FORCE_DISABLE) |
- S_02800C_FORCE_HIS_ENABLE1(V_02800C_FORCE_DISABLE) |
- /* There is a hang with HTILE if stencil is used and
- * fast stencil is enabled. */
- S_02800C_FAST_STENCIL_DISABLE(1);
+ S_02800C_FORCE_HIS_ENABLE1(V_02800C_FORCE_DISABLE);
if (a->occlusion_query_enabled) {
db_count_control |= S_028004_PERFECT_ZPASS_COUNTS(1);