From cbbc18bc678a826508ed0b904ab485c44b7348c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 7 May 2020 13:46:41 -0400 Subject: [PATCH] radeonsi: use display_dcc_offset for setting displayable_dcc_cb_mask Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/gallium/drivers/radeonsi/si_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 8e162fe87c6..9ae618c0970 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -2830,7 +2830,7 @@ static void si_set_framebuffer_state(struct pipe_context *ctx, else sctx->framebuffer.uncompressed_cb_mask |= 1 << i; - if (tex->surface.dcc_offset) + if (tex->surface.display_dcc_offset) sctx->framebuffer.displayable_dcc_cb_mask |= 1 << i; /* Don't update nr_color_samples for non-AA buffers. -- 2.30.2