mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
iris: reemit blend state for alpha test function changes
fixes bin/fbo-alphatest-formats GL_EXT_texture_snorm
This commit is contained in:
parent
a4036635b1
commit
c60a4de1f5
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue