From: Marek Olšák Date: Mon, 10 Aug 2015 14:23:53 +0000 (+0200) Subject: radeonsi: revert a wrong DB bug workaround for VI X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f47c59322e614d6304091207fc81cfa5beba6ea9;p=mesa.git radeonsi: revert a wrong DB bug workaround for VI The bug was misunderstood. Besides that, the bug affects a DB feature we don't use yet. Reviewed-by: Michel Dänzer --- diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 21689e71b8b..c923ea7e154 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -1994,10 +1994,6 @@ static void si_init_depth_surface(struct si_context *sctx, db_htile_surface = 0; } - /* Bug workaround. */ - if (sctx->b.chip_class >= VI) - s_info |= S_028044_TILE_STENCIL_DISABLE(1); - assert(levelinfo->nblk_x % 8 == 0 && levelinfo->nblk_y % 8 == 0); surf->db_depth_view = S_028008_SLICE_START(surf->base.u.tex.first_layer) |