nir: fix indices for ir3 ssbo_atomic intrinsics
authorRob Clark <robdclark@chromium.org>
Wed, 6 May 2020 22:52:53 +0000 (15:52 -0700)
committerRob Clark <robdclark@chromium.org>
Thu, 14 May 2020 03:24:42 +0000 (20:24 -0700)
commit3d3cfea78b799af71012dcd6b84cc38a9d172e05
tree44b2dbcfd85dfdf177a92f3eeed2ba636b08e36f
parentea6b404294a0d6d83360bd0c5c8ab4e6f44c3555
nir: fix indices for ir3 ssbo_atomic intrinsics

Caught by the sanity checking in nir_intrinsic_copy_const_indices()
(which is introduced by the next patch).

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/nir/nir_intrinsics.py