commit | ff124e3fe3e89c594b91e62d3e233cfc2af3ef34 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason@jlekstrand.net> | Sat Aug 29 00:59:22 2020 -0500 |
committer | Marge Bot <eric+marge@anholt.net> | Tue Sep 01 20:50:03 2020 +0000 |
tree | 92fef5c39794020645b0772ca01a13471bb64cd6 | |
parent | e4f07f8bdc602bae665fd57bb69e293a69d89bef [diff] |
nir: Add a load_global_constant intrinsic This has the same semantics as load_global except the memory it reads is known to be constant so load_global_constant intrinsics can be CSEd rather than relying on more complex copy-propagation. Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6379>