Mesa (master): radeonsi/gfx9: enable DCC fast clear
Marek Olšák
mareko at kemper.freedesktop.org
Thu Jun 22 11:15:53 UTC 2017
Module: Mesa
Branch: master
Commit: bcd67b171152dfba2402de923a44dfe946e2684a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bcd67b171152dfba2402de923a44dfe946e2684a
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sat May 13 00:44:24 2017 +0200
radeonsi/gfx9: enable DCC fast clear
It seems to work now.
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
---
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 f74bbcea25..d68587b4a2 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;
More information about the mesa-commit
mailing list