From: Marek Olšák Date: Fri, 12 May 2017 22:44:24 +0000 (+0200) Subject: radeonsi/gfx9: enable DCC fast clear X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bcd67b171152dfba2402de923a44dfe946e2684a;p=mesa.git radeonsi/gfx9: enable DCC fast clear It seems to work now. Reviewed-by: Nicolai Hähnle --- 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;