st/pbo: use correct type for images and textures

Not all hardware can treat float, uint and sint samplers and images the
same way, so we need to respect the format-types here.

This has the added benefit of making sure sint and uint data doesn't
get copied through a float, which might mess with signaling nan
encodings.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <!11164>
144 jobs for !11164 with pbo-types in 38 minutes and 31 seconds (queued for 18 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #10528331
sanity

00:00:15

 
  Container
passed #10528341
aarch64
arm_build

00:00:26

passed #10528346
windows shell 1809 mesa
windows_build_vs2019

00:00:10

passed #10528335
x86_build-base

00:00:24

passed #10528337
x86_test-base

00:00:25

 
  Container 2
passed #10528368
android_build

00:00:25

passed #10528357
i386_build

00:00:29

passed #10528378
kernel+rootfs_amd64

00:00:14

passed #10528382
aarch64
kernel+rootfs_arm64

00:01:04

passed #10528387
aarch64
kernel+rootfs_armhf

00:00:13

passed #10528360
ppc64el_build

00:00:29

passed #10528364
s390x_build

00:00:23

passed #10528353
x86_build

00:00:29

passed #10528371
x86_test-gl

00:00:23

passed #10528376
x86_test-vk

00:00:24

 
  Meson X86 64
passed #10528406
meson-clang

00:12:01

passed #10528411
meson-clover

00:02:07

passed #10528398
meson-clover-testing

00:01:46

passed #10528401
meson-gallium

00:07:30

passed #10528403
meson-release

00:03:37

passed #10528393
meson-testing

00:01:53

passed #10528395
meson-testing-asan

00:02:33

passed #10528413
meson-vulkan

00:02:05

 
  Build Misc
passed #10528417
arm_test

00:00:21

passed #10528421
meson-android

00:00:39

passed #10528428
aarch64
meson-arm64

00:01:23

passed #10528432
aarch64
meson-arm64-asan

00:03:55

passed #10528436
aarch64
meson-arm64-build-test

00:01:38

passed #10528424
aarch64
meson-armhf

00:01:52

passed #10528445
meson-i386

00:01:33

passed #10528457
meson-mingw32-x86_64

00:05:42

passed #10528453
meson-ppc64el

00:05:20

passed #10528449
kvm
meson-s390x

00:03:51

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

00:07:06

 
  Amd
passed #10532621
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-gles2:amd64

00:07:28

passed #10528486
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-gles31:amd64 1/2

00:25:31

passed #10528491
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-gles31:amd64 2/2

00:25:43

passed #10528478
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-gles3:amd64 1/2

00:20:20

passed #10528482
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-gles3:amd64 2/2

00:18:58

passed #10528497
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-piglit-gl:amd64

00:27:51

passed #10528494
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-traces:amd64

00:25:38

passed #10528472
radv-fossils

00:11:58

passed #10528461
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radv_stoney_vkcts:amd64 1/3

00:12:27

passed #10528465
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radv_stoney_vkcts:amd64 2/3

00:14:57

passed #10528468
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radv_stoney_vkcts:amd64 3/3

00:20:19

failed #10528475
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-gles2:amd64

00:16:02

 
  Intel
passed #10528535
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-egl

00:05:31

passed #10528531
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-gl

00:08:53

passed #10528519
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-gles2

00:06:25

passed #10528523
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-gles3

00:08:02

passed #10528527
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-gles31

00:11:27

passed #10528543
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-traces

00:10:27

passed #10528515
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
iris-apl-egl

00:07:01

passed #10528502
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
iris-apl-gles2

00:06:53

passed #10528507
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
iris-apl-gles3

00:12:44

passed #10528511
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
iris-apl-gles31

00:07:01

passed #10528539
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
iris-apl-traces

00:13:13

 
  Arm
passed #10528583
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
panfrost-g52-gles31:arm64

00:11:23

passed #10528575
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
panfrost-g52-gles3:arm64 1/2

00:08:28

passed #10528578
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
panfrost-g52-gles3:arm64 2/2

00:08:58

passed #10528547
mesa-ci-x86-64-lava-sun50i-h6-pine-h64
panfrost-t720-gles2:arm64

00:09:55

passed #10528551
mesa-ci-x86-64-lava-rk3288-veyron-jaq
panfrost-t760-gles2:armhf

00:07:02

passed #10528555
mesa-ci-x86-64-lava-rk3288-veyron-jaq
panfrost-t760-traces:armhf

00:09:41

passed #10528567
mesa-ci-x86-64-lava-rk3399-gru-kevin
panfrost-t860-gles31:arm64

00:08:28

passed #10528559
mesa-ci-x86-64-lava-rk3399-gru-kevin
panfrost-t860-gles3:arm64 1/2

00:07:18

passed #10528563
mesa-ci-x86-64-lava-rk3399-gru-kevin
panfrost-t860-gles3:arm64 2/2

00:09:55

passed #10528571
mesa-ci-x86-64-lava-rk3399-gru-kevin
panfrost-t860-traces:arm64

00:07:23

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

00:06:59

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

00:09:45

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

00:10:00

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

00:09:13

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

00:09:40

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

00:08:12

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

00:08:29

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

00:08:03

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

00:07:41

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

00:07:32

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

00:07:46

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

00:07:44

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

00:07:38

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

00:04:12

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

00:04:05

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

00:04:18

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

00:04:02

 
  Freedreno
passed #10528655
google-freedreno-db410c
a306_gles2

00:04:50

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

00:09:25

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

00:08:49

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

00:08:57

passed #10528669
google-freedreno-db410c
a306_gles3_options

00:03:42

passed #10528673
google-freedreno-db410c
a306-traces

00:02:49

passed #10528677
google-freedreno-db820c
a530_gles2

00:07:15

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

00:06:40

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

00:08:54

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

00:07:25

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

00:08:43

passed #10528699
google-freedreno-db820c
a530_piglit_shader 1/2

00:09:54

passed #10528704
google-freedreno-db820c
a530_piglit_shader 2/2

00:10:33

passed #10528707
google-freedreno-db820c
a530-traces

00:09:56

passed #10528721
google-freedreno-cheza
a630_egl

00:03:44

passed #10528718
google-freedreno-cheza
a630_gl

00:02:46

passed #10528709
google-freedreno-cheza
a630_gles2

00:01:32

passed #10528715
google-freedreno-cheza
a630_gles3

00:06:08

passed #10528712
google-freedreno-cheza
a630_gles31

00:04:32

passed #10528724
google-freedreno-cheza
a630_gles_others

00:04:42

passed #10528738
google-freedreno-cheza
a630_piglit

00:09:42

passed #10528741
google-freedreno-cheza
a630-traces

00:04:13

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

00:10:55

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

00:10:52

passed #10528735
google-freedreno-cheza
a630_vk_sysmem

00:02:16

 
  Software Renderer
passed #10528799
lavapipe-nir-stress

00:01:21

passed #10528797
lavapipe-vk

00:06:46

passed #10528768
llvmpipe-egl

00:01:05

passed #10528763
llvmpipe-gl

00:03:02

passed #10528756
llvmpipe-gles2

00:02:56

passed #10528759
llvmpipe-gles3

00:05:27

passed #10528760
llvmpipe-gles31

00:11:52

passed #10528766
llvmpipe-khr-gles2

00:00:21

passed #10528748
llvmpipe-piglit-glslparser

00:03:31

passed #10528744
llvmpipe-piglit-quick_gl

00:03:59

passed #10528751
llvmpipe-piglit-quick_shader

00:05:06

passed #10528753
llvmpipe-traces

00:01:41

passed #10528788
softpipe-asan-gles31

00:05:03

passed #10528794
softpipe-gl

00:00:33

passed #10528771
softpipe-gles2

00:01:38

passed #10528773
softpipe-gles3

00:02:50

passed #10528775
softpipe-gles31 1/2

00:06:06

passed #10528777
softpipe-gles31 2/2

00:03:08

passed #10528781
softpipe-khr-gles2

00:01:06

passed #10528783
softpipe-khr-gles3

00:00:33

passed #10528786
softpipe-khr-gles31

00:00:25

passed #10528791
softpipe-piglit-quick

00:04:40

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

00:04:45

passed #10528813
virgl-gl30-on-gl

00:00:31

passed #10528816
virgl-gl31-on-gl

00:00:43

passed #10528817
virgl-gl32-on-gl

00:01:36

passed #10528803
virgl-gles2-on-gl

00:02:20

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

00:02:30

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

00:02:50

passed #10528805
virgl-gles3-on-gl

00:05:10

passed #10528820
virgl-traces

00:00:49

passed #10528830
zink-lvp-gl

00:01:07

passed #10528825
zink-lvp-gles2

00:01:31

passed #10528827
zink-lvp-gles3

00:02:16

passed #10528822
zink-piglit-quick_gl

00:06:18