ac/nir: fix shared atomic operations.
authorDave Airlie <airlied@redhat.com>
Wed, 28 Feb 2018 23:38:19 +0000 (09:38 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 1 Mar 2018 00:06:06 +0000 (10:06 +1000)
commit49879f3778707e50b2b2d5968996d60557bd99d4
tree1dd58569cddd664758851bb1d2001af5479bac9c
parent69495b30a38fbb01a937cdea6f7674f89a2e60e7
ac/nir: fix shared atomic operations.

The nir->llvm conversion was using the wrong srcs.

Fixes:
tests/spec/arb_compute_shader/execution/shared-atomics.shader_test

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c