summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-05-13 00:44:24 +0200
committerMarek Olšák <[email protected]>2017-06-22 13:15:27 +0200
commitbcd67b171152dfba2402de923a44dfe946e2684a (patch)
tree3329db1dbe40de5e5ad69002b414b72af71a13f7 /src/gallium
parentdb37c0be13e64cce70491d6c6c0090a8f1d3d1d6 (diff)
radeonsi/gfx9: enable DCC fast clear
It seems to work now. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeon/r600_texture.c4
1 files changed, 0 insertions, 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;