From dc311f3f616e439596a365d20b6d24bdec16cdc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sun, 7 May 2023 16:39:33 -0400 Subject: [PATCH] radeonsi: remove a useless depth texture function call in a fast color clear Reviewed-by: Qiang Yu Part-of: --- src/gallium/drivers/radeonsi/si_clear.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_clear.c b/src/gallium/drivers/radeonsi/si_clear.c index f9c8e0e1439..a210192b8e3 100644 --- a/src/gallium/drivers/radeonsi/si_clear.c +++ b/src/gallium/drivers/radeonsi/si_clear.c @@ -860,7 +860,6 @@ static void si_fast_clear(struct si_context *sctx, unsigned *buffers, !(tex->dirty_level_mask & (1 << level))) { assert(sctx->gfx_level < GFX11); /* no decompression needed on GFX11 */ tex->dirty_level_mask |= 1 << level; - si_set_sampler_depth_decompress_mask(sctx, tex); p_atomic_inc(&sctx->screen->compressed_colortex_counter); }