From: Alyssa Rosenzweig Date: Wed, 11 Mar 2020 19:17:25 +0000 (-0400) Subject: pan/bi: Fix swizzle for second argument to ST_VARY X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b76b3bc09c6db2e218f903e0d1c7fb68c9e6458;p=mesa.git pan/bi: Fix swizzle for second argument to ST_VARY Off-by-one. Signed-off-by: Alyssa Rosenzweig Tested-by: Marge Bot Part-of: --- diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c index 8124970b6e8..5b42b3ccd4e 100644 --- a/src/panfrost/bifrost/bifrost_compile.c +++ b/src/panfrost/bifrost/bifrost_compile.c @@ -149,6 +149,7 @@ bi_emit_st_vary(bi_context *ctx, nir_intrinsic_instr *instr) bir_src_index(&instr->src[0]) }, .swizzle = { + { 0 }, { 0, 1, 2, 3 } } };