projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d2619a
)
broadcom/vc5: Don't forget to actually turn on stencil testing.
author
Eric Anholt
<eric@anholt.net>
Thu, 26 Oct 2017 22:59:21 +0000
(15:59 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 30 Oct 2017 20:31:28 +0000
(13:31 -0700)
I had the rest of stencil state set up, but forgot to actually enable it
in the higher level configuration bits packet.
src/gallium/drivers/vc5/vc5_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc5/vc5_emit.c
b/src/gallium/drivers/vc5/vc5_emit.c
index 3cb44feff9f9551d6e2b039c61c015bd10934ff1..158a2367aa0b30b50be8a308ddc1f1910bb1d63a 100644
(file)
--- 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;
}
}