pan/bi: Fix lower_combine swizzle rewrite
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4615>
This commit is contained in:
parent
60f252708f
commit
b1d4d8f743
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue