From: Marek Olšák Date: Thu, 30 Jan 2020 21:58:15 +0000 (-0500) Subject: radeonsi: fix the DCC MSAA bug workaround X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fbb27eebc8cab1a5d70ea67a37de8d18f20a88f0;p=mesa.git radeonsi: fix the DCC MSAA bug workaround Cc: 19.3 20.0 Reviewed-by: Bas Nieuwenhuizen Part-of: --- 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);