Skip to content

nir/find_array_copies: Reject copies with mismatched type

Connor Abbott requested to merge cwabbott0/mesa:nir-more-find-copy-fixes into master

When we detect a scalar/vector copy through load_deref/store_deref, we have to be careful since those can bitcast an int to a float and vice-versa even though copy_deref can't.

Bugzilla: Fixes: 156306e5 ("nir/find_array_copies: Handle wildcards and overlapping copies")

Merge request reports