ac/nir: use the new raw/struct SSBO atomic intrisics for comp_swap
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 18 Apr 2019 07:09:55 +0000 (09:09 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 19 Apr 2019 07:20:15 +0000 (09:20 +0200)
commit2b515a8259bc104f09e3af7a0e545f7aa659e30d
tree1e8f36c2bcc734063637f213181ed61d168a72ca
parent895e10d2dbc9b0efcb97f8232948f780a32c1524
ac/nir: use the new raw/struct SSBO atomic intrisics for comp_swap

This is actually fixed now.

This change requires LLVM r358579. Make sure to have it in
your tree, otherwise the following piglit will hang:

tests/spec/arb_shader_storage_buffer_object/execution/ssbo-atomicCompSwap-int.shader_test

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/amd/common/ac_nir_to_llvm.c