pan/bi: Fix swizzle for second argument to ST_VARY

Off-by-one.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150>
This commit is contained in:
Alyssa Rosenzweig
2020-03-11 15:17:25 -04:00
committed by Marge Bot
parent f6d96aa962
commit 3b76b3bc09

View File

@@ -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 }
}
};