summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_vec4_tcs.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2018-12-05 11:35:37 -0800
committerIan Romanick <[email protected]>2019-03-01 12:42:14 -0800
commit06eaaf2de94449f5c5a7cf3dce8894aafa1fb0ae (patch)
tree7cbce418d2b03c120e895cb2ca35d1ce7b812144 /src/intel/compiler/brw_vec4_tcs.cpp
parentfb3ca9109cba6d814c2e3843e256b298cfd73661 (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_tcs.cpp')
0 files changed, 0 insertions, 0 deletions