From fbb27eebc8cab1a5d70ea67a37de8d18f20a88f0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 30 Jan 2020 16:58:15 -0500 Subject: [PATCH] radeonsi: fix the DCC MSAA bug workaround Cc: 19.3 20.0 Reviewed-by: Bas Nieuwenhuizen 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 afa1029c1ac..e3e0ffa64e1 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -685,7 +685,7 @@ static void si_bind_blend_state(struct pipe_context *ctx, void *state) if (old_blend->cb_target_mask != blend->cb_target_mask || old_blend->dual_src_blend != blend->dual_src_blend || - (old_blend->blend_enable_4bit != blend->blend_enable_4bit && + (old_blend->dcc_msaa_corruption_4bit != blend->dcc_msaa_corruption_4bit && sctx->framebuffer.nr_samples >= 2 && sctx->screen->dcc_msaa_allowed)) si_mark_atom_dirty(sctx, &sctx->atoms.s.cb_render_state); -- 2.30.2