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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user