mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
iris: Fix backface stencil write condition
A bit too much search and replace here.
This commit is contained in:
parent
ea2cd73625
commit
f36794d1f0
1 changed files with 1 additions and 1 deletions
|
|
@ -1027,7 +1027,7 @@ iris_create_zsa_state(struct pipe_context *ctx,
|
|||
cso->depth_writes_enabled = state->depth.writemask;
|
||||
cso->stencil_writes_enabled =
|
||||
state->stencil[0].writemask != 0 ||
|
||||
(two_sided_stencil && state->stencil[1].writemask != 1);
|
||||
(two_sided_stencil && state->stencil[1].writemask != 0);
|
||||
|
||||
/* The state tracker needs to optimize away EQUAL writes for us. */
|
||||
assert(!(state->depth.func == PIPE_FUNC_EQUAL && state->depth.writemask));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue