From b1d4d8f7432ddff50dce4151603f70c47c01c5f9 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 14 Apr 2020 18:51:55 -0400 Subject: [PATCH] pan/bi: Fix lower_combine swizzle rewrite Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bi_lower_combine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/bifrost/bi_lower_combine.c b/src/panfrost/bifrost/bi_lower_combine.c index 80295570728..350f4a1cce0 100644 --- a/src/panfrost/bifrost/bi_lower_combine.c +++ b/src/panfrost/bifrost/bi_lower_combine.c @@ -96,7 +96,7 @@ bi_rewrite_uses(bi_context *ctx, if (ins->src[s] != old) continue; for (unsigned i = 0; i < 16; ++i) - ins->swizzle[s][0] += (newc - oldc); + ins->swizzle[s][i] += (newc - oldc); ins->src[s] = new; } -- 2.30.2