From: Kenneth Graunke Date: Sun, 22 Jul 2018 03:47:08 +0000 (-0700) Subject: iris: reemit blend state for alpha test function changes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c60a4de1f5a45920c55a645ce3879983a5eb35e9;p=mesa.git iris: reemit blend state for alpha test function changes fixes bin/fbo-alphatest-formats GL_EXT_texture_snorm --- diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index 638a5e24e08..51b134b73e1 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -599,6 +599,9 @@ iris_bind_zsa_state(struct pipe_context *ctx, void *state) if (cso_changed(alpha.enabled)) ice->state.dirty |= IRIS_DIRTY_PS_BLEND | IRIS_DIRTY_BLEND_STATE; + + if (cso_changed(alpha.func)) + ice->state.dirty |= IRIS_DIRTY_BLEND_STATE; } ice->state.cso_zsa = new_cso;