aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-03-11 15:17:25 -0400
committerMarge Bot <[email protected]>2020-03-11 20:28:21 +0000
commit3b76b3bc09c6db2e218f903e0d1c7fb68c9e6458 (patch)
tree01c21e29604d1bda2da1e54f0622193af92d87fb /src/panfrost
parentf6d96aa962d5497a3fb12b02a47ff9777e5cbfd8 (diff)
pan/bi: Fix swizzle for second argument to ST_VARY
Off-by-one. Signed-off-by: Alyssa Rosenzweig <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150>
Diffstat (limited to 'src/panfrost')
-rw-r--r--src/panfrost/bifrost/bifrost_compile.c1
1 files changed, 1 insertions, 0 deletions
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 }
}
};