mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
iris: Flag for resolves when stencil enable changes, too.
The watcher of this dirty flag looks at this state, so it sure seems like it needs it. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9768>
This commit is contained in:
parent
bbe5eb43c7
commit
57e00aed8e
1 changed files with 1 additions and 1 deletions
|
|
@ -1484,7 +1484,7 @@ iris_bind_zsa_state(struct pipe_context *ctx, void *state)
|
|||
if (cso_changed(alpha_func))
|
||||
ice->state.dirty |= IRIS_DIRTY_BLEND_STATE;
|
||||
|
||||
if (cso_changed(depth_writes_enabled))
|
||||
if (cso_changed(depth_writes_enabled) || cso_changed(stencil_writes_enabled))
|
||||
ice->state.dirty |= IRIS_DIRTY_RENDER_RESOLVES_AND_FLUSHES;
|
||||
|
||||
ice->state.depth_writes_enabled = new_cso->depth_writes_enabled;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue