Module: Mesa
Branch: master
Commit: 52f3e9e43c0244751f0cf84dbe4d20ffc60de0b0
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=52f3e9e43c0244751f0cf84dbe4d20ffc60de0b0

Author: Eric Anholt <[email protected]>
Date:   Tue Nov  7 15:37:46 2017 -0800

broadcom/vc5: Fix pasteo in front stencil ref value setup.

Fixes piglit masked-clear.

---

 src/gallium/drivers/vc5/vc5_emit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/vc5/vc5_emit.c 
b/src/gallium/drivers/vc5/vc5_emit.c
index ecb1b25a55..72b5d85880 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];
                         }
                 }
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to