ac/nir: Fix out of bounds array access.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 29 Nov 2016 23:41:16 +0000 (00:41 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 30 Nov 2016 06:09:38 +0000 (07:09 +0100)
commitabc887faa108b52f1e622ac8c1a3e30c4f317475
treec1bc1d444f3d1c84a94a073dd8126ff8ec65b00a
parentd3d7cab812a8e26fcfdf98c617ca23111736b86f
ac/nir: Fix out of bounds array access.

With nir_intrinsic_ssbo_atomic_comp_swap we run out of params.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c