ac/nir: Use correct LLVM intrinsics for atomic ops on imageBuffers
authorAlex Smith <asmith@feralinteractive.com>
Mon, 26 Jun 2017 16:17:32 +0000 (17:17 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 28 Jun 2017 19:05:04 +0000 (21:05 +0200)
commit909184ac9cf59f23803915773f5659f05c161394
tree4d94291167b1320e44db3d46cfa1606743cb4d4d
parent69a17da037d26b54e075d90c8b5ce887255291a7
ac/nir: Use correct LLVM intrinsics for atomic ops on imageBuffers

The buffer intrinsics should be used instead of the image ones.

Signed-off-by: Alex Smith <asmith@feralinteractive.com>
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_nir_to_llvm.c