diff options
author | Ian Romanick <[email protected]> | 2018-12-05 11:35:37 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2019-03-01 12:42:14 -0800 |
commit | 06eaaf2de94449f5c5a7cf3dce8894aafa1fb0ae (patch) | |
tree | 7cbce418d2b03c120e895cb2ca35d1ce7b812144 /src/intel/compiler/brw_vec4_nir.cpp | |
parent | fb3ca9109cba6d814c2e3843e256b298cfd73661 (diff) |
intel/fs: Refactor ALU source and destination handling to a separate function
Other places will need to do this soon to properly handle source
swizzles. The patch looks a little odd, but the change is pretty
straight forward. All of the swizzle and mask handling is moved out,
but the code for handling move instructions and vecN instructions
remains in nir_emit_alu.
I'm not terribly pleased with the "need_dest" parameter, but
get_nir_dest is (somewhat surprisingly) destructive. I am open to
suggestions of alternatives.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_vec4_nir.cpp')
0 files changed, 0 insertions, 0 deletions