diff options
author | Samuel Iglesias Gonsalvez <[email protected]> | 2015-06-11 12:32:26 +0200 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-08-03 09:40:50 -0700 |
commit | 418c004f802e63ca4e9f3456a46498d2fc543854 (patch) | |
tree | 45904a9d62c917c03b186fd8d08eb8e6021b54d0 /bin | |
parent | 19cf934f7f18237e1a212b0a019026d5d36c6fac (diff) |
nir: Fix output swizzle in get_mul_for_src
Avoid copying an overwritten swizzle, use the original values.
Example:
Former swizzle[] = xyzw
src->swizzle[] = zyxx
The expected output swizzle = zyxx but if we reuse swizzle in the loop,
then output swizzle would be zyzz.
Signed-off-by: Samuel Iglesias Gonsalvez <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions