microsoft/compiler: Add some more float16 support

We can support float16 constants, b2f16, and casts to float16.

Reviewed-by: Enrico Galli <enrico.galli@intel.com>
Reviewed-by: Michael Tang <tangm@microsoft.com>
Part-of: <!10063>
113 jobs for !10063 with spirv-to-dxil-doubles-fp16 in 21 minutes and 32 seconds (queued for 9 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #8688508
sanity

00:00:08

 
  Container
passed #8688513
aarch64
arm_build

00:00:17

passed #8688515
windows shell 1809 mesa
windows_build_vs2019

00:00:08

passed #8688510
x86_build-base

00:00:17

passed #8688512
x86_test-base

00:00:15

 
  Container 2
passed #8688533
android_build

00:00:13

passed #8688527
i386_build

00:00:17

passed #8688519
kernel+rootfs_amd64

00:00:49

passed #8688521
aarch64
kernel+rootfs_arm64

00:00:12

passed #8688538
aarch64
kernel+rootfs_arm64-baremetal

00:00:54

passed #8688523
aarch64
kernel+rootfs_armhf

00:00:10

passed #8688540
aarch64
kernel+rootfs_armhf-baremetal

00:00:11

passed #8688529
ppc64el_build

00:00:13

passed #8688531
s390x_build

00:00:13

passed #8688525
x86_build

00:00:13

passed #8688535
x86_test-gl

00:00:13

passed #8688536
x86_test-vk

00:00:14

 
  Meson X86 64
passed #8688550
meson-clang

00:06:27

passed #8688552
meson-clover

00:03:09

passed #8688545
meson-clover-testing

00:02:00

passed #8688547
meson-gallium

00:06:12

passed #8688549
meson-release

00:04:19

passed #8688542
meson-testing

00:03:04

passed #8688543
meson-testing-asan

00:03:49

passed #8688554
meson-vulkan

00:01:58

 
  Build Misc
passed #8688556
arm_test

00:00:38

passed #8688557
meson-android

00:00:44

passed #8688561
aarch64
meson-arm64

00:01:27

passed #8688563
aarch64
meson-arm64-asan

00:03:05

passed #8688565
aarch64
meson-arm64-build-test

00:02:25

passed #8688559
aarch64
meson-armhf

00:01:40

passed #8688570
meson-i386

00:01:48

passed #8688575
meson-mingw32-x86_64

00:01:24

passed #8688573
kvm
meson-ppc64el

00:02:21

passed #8688571
kvm
meson-s390x

00:03:29

passed #8688567
docker windows 1809 mesa
meson-windows-vs2019

00:04:06

 
  Amd
passed #8688579
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles31:amd64

00:08:48

passed #8688580
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-traces:amd64

00:09:23

passed #8688577
radv-fossils

00:07:55

 
  Arm
passed #8688583
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64

00:09:17

passed #8688585
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64

00:03:58

passed #8688587
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 1/2

00:06:31

passed #8688589
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 2/2

00:06:47

passed #8688591
mesa-ci-aarch64-lava-collabora
panfrost-t860-traces:arm64

00:09:28

 
  Broadcom
passed #8688613
igalia-rpi4
v3d-rpi4-gles2:armhf

00:07:16

passed #8688601
igalia-rpi4
v3d-rpi4-gles31:armhf 1/2

00:10:10

passed #8688603
igalia-rpi4
v3d-rpi4-gles31:armhf 2/2

00:11:40

passed #8688605
igalia-rpi4
v3d-rpi4-gles3:armhf 1/4

00:10:11

passed #8688607
igalia-rpi4
v3d-rpi4-gles3:armhf 2/4

00:09:53

passed #8688609
igalia-rpi4
v3d-rpi4-gles3:armhf 3/4

00:09:02

passed #8688611
igalia-rpi4
v3d-rpi4-gles3:armhf 4/4

00:09:28

passed #8688615
igalia-rpi4
v3dv-rpi4-vk:armhf 1/6

00:08:00

passed #8688617
igalia-rpi4
v3dv-rpi4-vk:armhf 2/6

00:07:58

passed #8688619
igalia-rpi4
v3dv-rpi4-vk:armhf 3/6

00:08:50

passed #8688621
igalia-rpi4
v3dv-rpi4-vk:armhf 4/6

00:08:55

passed #8688623
igalia-rpi4
v3dv-rpi4-vk:armhf 5/6

00:08:25

passed #8688625
igalia-rpi4
v3dv-rpi4-vk:armhf 6/6

00:08:15

passed #8688593
igalia-rpi3
vc4-rpi3-gles2:armhf 1/4

00:04:19

passed #8688595
igalia-rpi3
vc4-rpi3-gles2:armhf 2/4

00:03:55

passed #8688597
igalia-rpi3
vc4-rpi3-gles2:armhf 3/4

00:05:03

passed #8688599
igalia-rpi3
vc4-rpi3-gles2:armhf 4/4

00:03:58

 
  Freedreno
passed #8688627
google-freedreno-db410c
a306_gles2

00:04:39

passed #8688629
google-freedreno-db410c
a306_gles3 1/3

00:08:47

passed #8688631
google-freedreno-db410c
a306_gles3 2/3

00:08:47

passed #8688633
google-freedreno-db410c
a306_gles3 3/3

00:08:51

passed #8688635
google-freedreno-db410c
a306_gles3_options

00:02:36

passed #8688637
google-freedreno-db410c
a306-traces

00:08:22

passed #8688639
google-freedreno-db820c
a530_gles2

00:05:32

passed #8688645
google-freedreno-db820c
a530_gles31 1/2

00:05:27

passed #8688641
google-freedreno-db820c
a530_gles3 1/2

00:08:14

passed #8688647
google-freedreno-db820c
a530_gles31 2/2

00:05:48

passed #8688643
google-freedreno-db820c
a530_gles3 2/2

00:07:06

passed #8688649
google-freedreno-db820c
a530_piglit_gl

00:09:25

passed #8688651
google-freedreno-db820c
a530_piglit_shader

00:08:26

passed #8688653
google-freedreno-db820c
a530-traces

00:13:55

passed #8688661
google-freedreno-cheza
a630_gl

00:01:16

passed #8688655
google-freedreno-cheza
a630_gles2

00:01:30

passed #8688659
google-freedreno-cheza
a630_gles3

00:04:46

passed #8688657
google-freedreno-cheza
a630_gles31

00:03:54

passed #8688663
google-freedreno-cheza
a630_gles_others

00:02:36

passed #8688671
google-freedreno-cheza
a630_piglit_gl

00:06:23

passed #8688673
google-freedreno-cheza
a630_piglit_shader

00:05:01

passed #8688675
google-freedreno-cheza
a630-traces

00:08:17

passed #8688665
google-freedreno-cheza
a630_vk 1/2

00:07:04

passed #8688667
google-freedreno-cheza
a630_vk 2/2

00:08:13

passed #8688669
google-freedreno-cheza
a630_vk_sysmem

00:02:06

 
  Software Renderer
passed #8688701
lavapipe-vk

00:03:59

passed #8688686
llvmpipe-gles2

00:01:43

passed #8688677
llvmpipe-piglit-cl

00:01:34

passed #8688680
llvmpipe-piglit-glslparser

00:04:02

passed #8688679
llvmpipe-piglit-quick_gl

00:06:22

passed #8688682
llvmpipe-piglit-quick_shader

00:05:53

passed #8688684
llvmpipe-traces

00:01:52

passed #8688695
softpipe-asan-gles31

00:02:34

passed #8688699
softpipe-gl

00:01:09

passed #8688687
softpipe-gles2

00:01:42

passed #8688689
softpipe-gles3

00:03:18

passed #8688691
softpipe-gles31 1/2

00:02:44

passed #8688693
softpipe-gles31 2/2

00:02:51

passed #8688697
softpipe-piglit-quick

00:05:20

 
  Layered Backends
passed #8688727
docker windows 1809 mesa
test-d3d12-windows

00:03:11

passed #8688711
virgl-gl30-on-gl

00:00:27

passed #8688713
virgl-gl31-on-gl

00:00:59

passed #8688715
virgl-gl32-on-gl

00:01:33

passed #8688703
virgl-gles2-on-gl

00:02:07

passed #8688707
virgl-gles31-on-gl 1/2

00:04:32

passed #8688709
virgl-gles31-on-gl 2/2

00:05:03

passed #8688705
virgl-gles3-on-gl

00:04:51

passed #8688717
virgl-traces

00:00:36

passed #8688725
zink-lvp-gl

00:02:22

passed #8688721
zink-lvp-gles2

00:02:55

passed #8688723
zink-lvp-gles3

00:02:29

passed #8688719
zink-piglit-quick_gl

00:05:58