summaryrefslogtreecommitdiffstats
path: root/scons/source_list.py
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-07-23 19:16:56 -0700
committerJason Ekstrand <[email protected]>2018-08-23 21:47:47 -0500
commit53072582dc9401c76bb8ef72d8f321f684fb0a15 (patch)
tree2229427c9732e857225385ec7c8e1b8a6aeec87b /scons/source_list.py
parenta4a9c075496c64ac333e6c0b930d8c2eb5175e8e (diff)
nir: Add an array copy optimization
This peephole optimization looks for a series of load/store_deref or copy_deref instructions that copy an array from one variable to another and turns it into a copy_deref that copies the entire array. The pattern it looks for is extremely specific but it's good enough to pick up on the input array copies in DXVK and should also be able to pick up the sequence generated by spirv_to_nir for a OpLoad of a large composite followed by OpStore. It can always be improved later if needed. Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'scons/source_list.py')
0 files changed, 0 insertions, 0 deletions