From: Eric Anholt Date: Thu, 26 Oct 2017 22:59:21 +0000 (-0700) Subject: broadcom/vc5: Don't forget to actually turn on stencil testing. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b32786de6f78559615c1c28953fdd80c9751069;p=mesa.git broadcom/vc5: Don't forget to actually turn on stencil testing. I had the rest of stencil state set up, but forgot to actually enable it in the higher level configuration bits packet. --- 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; } }