mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue