radeonsi/gfx9: enable DCC fast clear
authorMarek Olšák <marek.olsak@amd.com>
Fri, 12 May 2017 22:44:24 +0000 (00:44 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 22 Jun 2017 11:15:27 +0000 (13:15 +0200)
It seems to work now.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/r600_texture.c

index f74bbcea25ddded29697b4a539d8aeb2248a2b3f..d68587b4a2791b8883a3fa982d3155b46996825c 100644 (file)
@@ -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;