Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9615>
continue;
}
+ /* We can change the micro tile mode before a full clear. */
+ /* This is only used for MSAA textures when clearing all layers. */
+ si_set_optimal_micro_tile_mode(sctx->screen, tex);
+
/* only supported on tiled surfaces */
if (tex->surface.is_linear) {
continue;
p_atomic_inc(&sctx->screen->compressed_colortex_counter);
}
- /* We can change the micro tile mode before a full clear. */
- si_set_optimal_micro_tile_mode(sctx->screen, tex);
-
*buffers &= ~clear_bit;
/* Chips with DCC constant encoding don't need to set the clear