diff options
author | Nicolai Hähnle <[email protected]> | 2018-09-18 14:16:43 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-07-03 15:51:13 -0400 |
commit | 3aa622aab15dcd8826369f36d43ca89bbef4512a (patch) | |
tree | f982e10c9b348345dbb9cc6ba879d394c2570153 /src/gallium/drivers | |
parent | bc25ccfe22a8f15dae7acdc35dd2a669b29149f9 (diff) |
radeonsi/gfx10: apply DCC MSAA blend workaround
Acked-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 8a540082364..35167f31fb1 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -119,9 +119,7 @@ static void si_emit_cb_render_state(struct si_context *sctx) * Alternatively, we can set CB_COLORi_DCC_CONTROL.OVERWRITE_- * COMBINER_DISABLE, but that would be more complicated. */ - bool oc_disable = (sctx->chip_class == GFX8 || - sctx->chip_class == GFX9) && - blend && + bool oc_disable = blend && blend->blend_enable_4bit & cb_target_mask && sctx->framebuffer.nr_samples >= 2; unsigned watermark = sctx->framebuffer.dcc_overwrite_combiner_watermark; |