Module: Mesa
Branch: master
Commit: bcd67b171152dfba2402de923a44dfe946e2684a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bcd67b171152dfba2402de923a44dfe946e2684a

Author: Marek Olšák <marek.ol...@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.haeh...@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;
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to