diff options
author | Kenneth Graunke <[email protected]> | 2019-03-09 00:25:30 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-03-10 14:52:53 -0700 |
commit | f36794d1f0c7f3638f34ff6face8840938a445d0 (patch) | |
tree | 8b378c001f7e1626b0d0f9ecf787c46a602e4dbe /src/gallium/drivers/iris | |
parent | ea2cd73625950a56dffb1bfc009ae86c53545ce0 (diff) |
iris: Fix backface stencil write condition
A bit too much search and replace here.
Diffstat (limited to 'src/gallium/drivers/iris')
-rw-r--r-- | src/gallium/drivers/iris/iris_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index 469d149dfba..1c89682b61c 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -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)); |