diff options
author | Marek Olšák <[email protected]> | 2020-01-30 16:58:15 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2020-02-10 17:24:02 -0500 |
commit | fbb27eebc8cab1a5d70ea67a37de8d18f20a88f0 (patch) | |
tree | 284e6f6a852cdd7fd01f0ec229aee0d2d8902773 | |
parent | 897a4a0041e2477aa7ac487f23d85a5fc8900c49 (diff) |
radeonsi: fix the DCC MSAA bug workaround
Cc: 19.3 20.0 <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3646>
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |