diff options
author | Jason Ekstrand <[email protected]> | 2015-01-21 16:00:55 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-02-03 12:33:11 -0800 |
commit | 8776b1b14b229d110f283f5da8c3c36261068ede (patch) | |
tree | 27e1244b9cfaef8d9ff1c0cca05fb3ea8af51876 /m4 | |
parent | 112d738b91aac44c2509aafe68bdbf9ab74bb3c1 (diff) |
i965/fs_nir: Get rid of get_alu_src
Originally, get_alu_src was supposed to handle resolving swizzles and
things like that. However, now that basically every instruction we have
only takes scalar sources, we don't really need it anymore. The only case
where it's still marginally useful is for the mov and vecN operations that
are left over from SSA form. We can handle those cases as a special case
easily enough. As a side-effect, we don't need the vec_to_movs pass
anymore.
v2 Jason Ekstrand <[email protected]>:
- Rework the way we detect if we need an extra copy for swizzling. The
old code involved a pile of confusing switch fall-throughs; we now use a
loop.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions