r600g: re-enable Hyper-Z for stencil on Evergreen & Cayman
authorMarek Olšák <marek.olsak@amd.com>
Thu, 10 Dec 2015 00:40:14 +0000 (01:40 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 11 Dec 2015 14:25:12 +0000 (15:25 +0100)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/evergreen_state.c

index 78fe87e126e4e460b08886f2646c946d203a4771..0f628ee513c5ca9232c346ea0c59076541d294e6 100644 (file)
@@ -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);