summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-11-07 15:37:46 -0800
committerEric Anholt <[email protected]>2017-11-17 16:09:55 -0800
commit52f3e9e43c0244751f0cf84dbe4d20ffc60de0b0 (patch)
tree90ceeb883f994754f8eb6bc51ef7ef490df43b81 /src
parentb63dd626b7961e6cabcd0d49e0d424a69d454511 (diff)
broadcom/vc5: Fix pasteo in front stencil ref value setup.
Fixes piglit masked-clear.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/vc5/vc5_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc5/vc5_emit.c b/src/gallium/drivers/vc5/vc5_emit.c
index ecb1b25a552..72b5d85880a 100644
--- a/src/gallium/drivers/vc5/vc5_emit.c
+++ b/src/gallium/drivers/vc5/vc5_emit.c
@@ -437,7 +437,7 @@ vc5_emit_state(struct pipe_context *pctx)
cl_emit_with_prepacked(&job->bcl, STENCIL_CONFIG,
vc5->zsa->stencil_front, config) {
config.stencil_ref_value =
- vc5->stencil_ref.ref_value[1];
+ vc5->stencil_ref.ref_value[0];
}
}