From 52f3e9e43c0244751f0cf84dbe4d20ffc60de0b0 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 7 Nov 2017 15:37:46 -0800 Subject: [PATCH] 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 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]; } } -- 2.30.2