diff options
-rw-r--r-- | src/gallium/drivers/vc5/vc5_emit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc5/vc5_emit.c b/src/gallium/drivers/vc5/vc5_emit.c index 3cb44feff9f..158a2367aa0 100644 --- a/src/gallium/drivers/vc5/vc5_emit.c +++ b/src/gallium/drivers/vc5/vc5_emit.c @@ -265,6 +265,9 @@ vc5_emit_state(struct pipe_context *pctx) } else { config.depth_test_function = PIPE_FUNC_ALWAYS; } + + config.stencil_enable = + vc5->zsa->base.stencil[0].enabled; } } |