mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-09 22:50:28 +01:00
radeonsi: fix the DCC MSAA bug workaround
Cc: 19.3 20.0 <mesa-stable@lists.freedesktop.org> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3646>
This commit is contained in:
parent
897a4a0041
commit
fbb27eebc8
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue