iris: reemit blend state for alpha test function changes

fixes bin/fbo-alphatest-formats GL_EXT_texture_snorm
This commit is contained in:
Kenneth Graunke 2018-07-21 20:47:08 -07:00
parent a4036635b1
commit c60a4de1f5

View file

@ -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;