diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index 010d5671a5b..a8e8c3884dd 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -285,6 +285,7 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_FENCE_SIGNAL: case PIPE_CAP_IMAGE_STORE_FORMATTED: case PIPE_CAP_LEGACY_MATH_RULES: + case PIPE_CAP_ALPHA_TO_COVERAGE_DITHER_CONTROL: return true; case PIPE_CAP_UMA: return iris_bufmgr_vram_size(screen->bufmgr) == 0; diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index e8c73541326..15f1ed98fc6 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -1477,7 +1477,7 @@ iris_create_blend_state(struct pipe_context *ctx, bs.AlphaToCoverageEnable = state->alpha_to_coverage; bs.IndependentAlphaBlendEnable = indep_alpha_blend; bs.AlphaToOneEnable = state->alpha_to_one; - bs.AlphaToCoverageDitherEnable = state->alpha_to_coverage; + bs.AlphaToCoverageDitherEnable = state->alpha_to_coverage_dither; bs.ColorDitherEnable = state->dither; /* bl.AlphaTestEnable and bs.AlphaTestFunction are filled in later. */ }