gallium/ntt: Add support for HW atomics.

Found missing when taking virgl on the nir-to-tgsi path.  Super broken so
far.
92 jobs for !8044 with st-glsl-ntt in 12 seconds (queued for 5 seconds)
detached
Status Job ID Name Coverage
  Sanity
passed #6671515
sanity

00:00:12

 
  Container
manual #6671520
aarch64 manual
arm_build
manual #6671522
manual
arm_test-base
manual #6671524
windows shell 1809 mesa manual
windows_build_vs2019
manual #6671517
manual
x86_build-base
manual #6671519
manual
x86_test-base
 
  Container 2
created #6671539
android_build
created #6671545
arm64_test
created #6671546
armhf_test
created #6671534
i386_build
created #6671527
kernel+rootfs_amd64
created #6671528
aarch64
kernel+rootfs_arm64
created #6671530
aarch64
kernel+rootfs_armhf
created #6671536
ppc64el_build
created #6671538
s390x_build
created #6671532
x86_build
created #6671541
x86_test-gl
created #6671543
x86_test-vk
 
  Meson X86 64
created #6671557
meson-clang
created #6671559
meson-clover
created #6671552
meson-clover-testing
created #6671553
meson-gallium
created #6671555
meson-release
created #6671548
meson-testing
created #6671550
meson-testing-asan
created #6671560
meson-vulkan
 
  Build Misc
created #6671562
meson-android
created #6671566
aarch64
meson-arm64
created #6671568
aarch64
meson-arm64-build-test
created #6671564
aarch64
meson-armhf
created #6671574
meson-i386
created #6671580
meson-mingw32-x86_64
created #6671578
kvm
meson-ppc64el
created #6671576
kvm
meson-s390x
created #6671570
windows docker 1809 mesa
meson-windows-vs2019
created #6671572
allowed to fail
scons-win64
 
  Amd
created #6671582
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles2:amd64
created #6671588
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles31:amd64
created #6671585
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles3:amd64
created #6671590
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-traces:amd64
created #6671592
radv-fossils
 
  Arm
created #6671605
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles2:arm64
created #6671608
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles3:arm64
created #6671594
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64
created #6671597
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64
created #6671599
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 1/2
created #6671600
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 2/2
created #6671603
mesa-ci-aarch64-lava-collabora
panfrost-t860-traces:arm64
 
  Freedreno
created #6671626
google-freedreno-db410c
arm64_a306_gles2
created #6671627
google-freedreno-db410c
arm64_a306_gles3
created #6671628
google-freedreno-db410c
arm64_a306_gles3_options
created #6671629
google-freedreno-db820c
arm64_a530_gles2 1/2
created #6671630
google-freedreno-db820c
arm64_a530_gles2 2/2
created #6671631
google-freedreno-db820c
arm64_a530_gles3
created #6671632
google-freedreno-db820c
arm64_a530_gles31
created #6671633
google-freedreno-db820c
arm64_a530_piglit_shader
created #6671620
google-freedreno-cheza
arm64_a630_gl
created #6671613
google-freedreno-cheza
arm64_a630_gles2
created #6671618
google-freedreno-cheza
arm64_a630_gles3
created #6671615
google-freedreno-cheza
arm64_a630_gles31
created #6671621
google-freedreno-cheza
arm64_a630_gles_others
created #6671625
google-freedreno-cheza
arm64_a630_piglit_shader
created #6671610
google-freedreno-cheza
arm64-a630-traces
created #6671622
google-freedreno-cheza
arm64_a630_vk 1/2
created #6671623
google-freedreno-cheza
arm64_a630_vk 2/2
created #6671624
google-freedreno-cheza
arm64_a630_vk_sysmem
 
  Raspberrypi
created #6671634
igalia-rpi3
vc4-rpi3-gles2:armhf 1/4
created #6671635
igalia-rpi3
vc4-rpi3-gles2:armhf 2/4
created #6671636
igalia-rpi3
vc4-rpi3-gles2:armhf 3/4
created #6671637
igalia-rpi3
vc4-rpi3-gles2:armhf 4/4
 
  Software Renderer
created #6671650
lavapipe-vk
created #6671643
llvmpipe-gles2
created #6671638
llvmpipe-piglit-cl
created #6671640
llvmpipe-piglit-glslparser
created #6671639
llvmpipe-piglit-quick_gl
created #6671641
llvmpipe-piglit-quick_shader
created #6671642
llvmpipe-traces
created #6671649
softpipe-gl
created #6671644
softpipe-gles2
created #6671645
softpipe-gles3
created #6671646
softpipe-gles31 1/2
created #6671647
softpipe-gles31 2/2
created #6671648
softpipe-piglit-quick
 
  Layered Backends
created #6671651
windows docker 1809 mesa
test-d3d12-windows
created #6671657
virgl-gl30-on-gl
created #6671658
virgl-gl31-on-gl
created #6671659
virgl-gl32-on-gl
created #6671653
virgl-gles2-on-gl
created #6671655
virgl-gles31-on-gl 1/2
created #6671656
virgl-gles31-on-gl 2/2
created #6671654
virgl-gles3-on-gl
created #6671652
virgl-traces