diff options
author | Eric Anholt <[email protected]> | 2015-01-22 13:08:59 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-01-28 16:33:34 -0800 |
commit | dd4d9a4e62ecf44011cfa2e020d08029299dd7e0 (patch) | |
tree | 2a6534f587d236fb10654c8aef8b05abd38d7c66 /src/mesa/main/texobj.c | |
parent | d70eb3851753ed7b57c56e4a7fd538857e4385ce (diff) |
nir: Make vec-to-movs handle src/dest aliasing.
It now emits vector MOVs instead of a series of individual MOVs, which
should be useful to any vector backends. This pushes the problem of
src/dest aliasing of channels on a scalar chip to the backend, but if
there are any vector operations in your shader then you needed to be
handling this already.
Fixes fs-swap-problem with my scalarizing patches.
v2: Rename to insert_mov(), and add a comment about what it does.
v3: Rewrite the comment.
Reviewed-by: Connor Abbott <[email protected]> (v3)
Diffstat (limited to 'src/mesa/main/texobj.c')
0 files changed, 0 insertions, 0 deletions