radeonsi: remove a useless depth texture function call in a fast color clear

Reviewed-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22833>
This commit is contained in:
Marek Olšák 2023-05-07 16:39:33 -04:00 committed by Marge Bot
parent d692d433f2
commit dc311f3f61

View file

@ -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);
}