ac/nir: consider an image load/store intrinsic's access
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 30 Jul 2020 10:14:55 +0000 (11:14 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 Aug 2020 09:45:54 +0000 (09:45 +0000)
commit4640e7da04a253388e9214f4a88252e115bf84e6
tree122af801949d3f546998237cb332ae92cbd7b4b7
parentda38e99edad6e9ca8ce0a3081f728384cc4e016d
ac/nir: consider an image load/store intrinsic's access

ACCESS_COHERENT may be set for a specific load/store in the case of
atomic loads/stores.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6063>
src/amd/llvm/ac_nir_to_llvm.c