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.
This commit is contained in:
Eric Anholt 2017-10-26 15:59:21 -07:00
parent 4d2619a6b3
commit 1b32786de6

View file

@ -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;
}
}