mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 04:10:09 +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>
(cherry picked from commit fbb27eebc8)
This commit is contained in:
parent
c17c8119c3
commit
007013c754
2 changed files with 2 additions and 2 deletions
|
|
@ -355,7 +355,7 @@
|
|||
"description": "radeonsi: fix the DCC MSAA bug workaround",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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