commit | 85685cf932c25fc53cae5e36b5d75f9d6a79c765 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@collabora.com> | Mon Nov 07 10:27:02 2022 -0600 |
committer | Marge Bot <emma+marge@anholt.net> | Wed Nov 09 19:45:10 2022 +0000 |
tree | 37e40719897702c71f1ba5b4d1580191440f8a1c | |
parent | 24094ee03d625fbcd2d154e8c2dd5434ba88f166 [diff] |
intel/lower_mem_access_bit_sizes: Compute alignments automatically Because dup_mem_intrinsic() retains the SSA offset from the original intrinsic and only modifies it by adding a constant, we can compute the alignment based on the original alignment and the constant offset. This is both easier and more accurate. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19580>