mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
radeonsi: don't update states for the DCC MSAA bug on GFX6-7
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3646> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3646>
This commit is contained in:
parent
fbb27eebc8
commit
1082e6fcb8
1 changed files with 2 additions and 2 deletions
|
|
@ -618,7 +618,7 @@ static void *si_create_blend_state_mode(struct pipe_context *ctx,
|
|||
|
||||
blend->blend_enable_4bit |= 0xfu << (i * 4);
|
||||
|
||||
if (sctx->family <= CHIP_NAVI14)
|
||||
if (sctx->chip_class >= GFX8 && sctx->family <= CHIP_NAVI14)
|
||||
blend->dcc_msaa_corruption_4bit |= 0xfu << (i * 4);
|
||||
|
||||
/* This is only important for formats without alpha. */
|
||||
|
|
@ -631,7 +631,7 @@ static void *si_create_blend_state_mode(struct pipe_context *ctx,
|
|||
blend->need_src_alpha_4bit |= 0xfu << (i * 4);
|
||||
}
|
||||
|
||||
if (sctx->family <= CHIP_NAVI14 && logicop_enable)
|
||||
if (sctx->chip_class >= GFX8 && sctx->family <= CHIP_NAVI14 && logicop_enable)
|
||||
blend->dcc_msaa_corruption_4bit |= blend->cb_target_enabled_4bit;
|
||||
|
||||
if (blend->cb_target_mask) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue