commit | 52f3e9e43c0244751f0cf84dbe4d20ffc60de0b0 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Tue Nov 07 15:37:46 2017 -0800 |
committer | Eric Anholt <eric@anholt.net> | Fri Nov 17 16:09:55 2017 -0800 |
tree | 90ceeb883f994754f8eb6bc51ef7ef490df43b81 | |
parent | b63dd626b7961e6cabcd0d49e0d424a69d454511 [diff] |
broadcom/vc5: Fix pasteo in front stencil ref value setup. Fixes piglit masked-clear.
diff --git a/src/gallium/drivers/vc5/vc5_emit.c b/src/gallium/drivers/vc5/vc5_emit.c index ecb1b25..72b5d85 100644 --- a/src/gallium/drivers/vc5/vc5_emit.c +++ b/src/gallium/drivers/vc5/vc5_emit.c
@@ -437,7 +437,7 @@ 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]; } }