microsoft/compiler: Change behavior for emitting inexpressible barriers

If the barrier tries to apply to memory that we can't express, just
don't apply the memory portion of the barrier. Similarly, if it tries
to apply a global memory barrier at invocation level, upgrade it to
thread-group.
35 jobs for !10163 with cl3 in 12 seconds (queued for 10 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #9120835
sanity

00:00:12

 
  Container
manual #9120840
aarch64 manual
arm_build
manual #9120842
windows shell 1809 mesa manual
windows_build_vs2019
manual #9120837
manual
x86_build-base
manual #9120838
manual
x86_test-base
 
  Container 2
created #9120852
android_build
created #9120846
i386_build
created #9120856
kernel+rootfs_amd64
created #9120858
aarch64
kernel+rootfs_arm64
created #9120860
aarch64
kernel+rootfs_armhf
created #9120848
ppc64el_build
created #9120850
s390x_build
created #9120845
x86_build
created #9120853
x86_test-gl
created #9120855
x86_test-vk
 
  Meson X86 64
created #9120870
meson-clang
created #9120872
meson-clover
created #9120865
meson-clover-testing
created #9120867
meson-gallium
created #9120868
meson-release
created #9120862
meson-testing
created #9120863
meson-testing-asan
created #9120873
meson-vulkan
 
  Build Misc
created #9120875
arm_test
created #9120877
meson-android
created #9120880
aarch64
meson-arm64
created #9120883
aarch64
meson-arm64-asan
created #9120885
aarch64
meson-arm64-build-test
created #9120878
aarch64
meson-armhf
created #9120889
meson-i386
created #9120894
meson-mingw32-x86_64
created #9120893
meson-ppc64el
created #9120891
kvm
meson-s390x
created #9120887
windows docker 1809 mesa
meson-windows-vs2019
 
  Layered Backends
created #9120896
windows docker 1809 mesa
test-d3d12-windows