From bcd67b171152dfba2402de923a44dfe946e2684a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sat, 13 May 2017 00:44:24 +0200 Subject: [PATCH] radeonsi/gfx9: enable DCC fast clear MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It seems to work now. Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeon/r600_texture.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index f74bbcea25d..d68587b4a27 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -2722,10 +2722,6 @@ void evergreen_do_fast_color_clear(struct r600_common_context *rctx, uint32_t reset_value; bool clear_words_needed; - /* TODO: fix DCC clear */ - if (rctx->chip_class >= GFX9) - continue; - if (rctx->screen->debug_flags & DBG_NO_DCC_CLEAR) continue; -- 2.30.2