From 550f859c534a9cb767210c3d1cbee6f93c7bec71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 17 Aug 2021 18:55:16 -0400 Subject: [PATCH] radeonsi: handle pipe_aligned in compute_expand_fmask Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/gallium/drivers/radeonsi/si_compute_blit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_compute_blit.c b/src/gallium/drivers/radeonsi/si_compute_blit.c index 8601fecbb26..bc229535645 100644 --- a/src/gallium/drivers/radeonsi/si_compute_blit.c +++ b/src/gallium/drivers/radeonsi/si_compute_blit.c @@ -706,7 +706,7 @@ void si_compute_expand_fmask(struct pipe_context *ctx, struct pipe_resource *tex return; si_make_CB_shader_coherent(sctx, tex->nr_samples, true, - true /* DCC is not possible with image stores */); + ((struct si_texture*)tex)->surface.u.gfx9.color.dcc.pipe_aligned); /* Save states. */ struct pipe_image_view saved_image = {0};