lavapipe: use cso caching

really this only needs cso_cache api, but it's cumbersome to redo all
the hashing and state creation, so just use the whole context

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <!11071>
138 jobs for !11071 with lavapipe-cso in 22 minutes and 20 seconds (queued for 11 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #10776028
sanity

00:00:13

 
  Container
passed #10776033
aarch64
arm_build

00:00:25

passed #10776035
windows shell 1809 mesa
windows_build_vs2019

00:00:12

passed #10776030
x86_build-base

00:00:23

passed #10776031
x86_test-base

00:00:22

 
  Container 2
passed #10776044
android_build

00:00:46

passed #10776039
i386_build

00:00:28

passed #10776049
kernel+rootfs_amd64

00:00:49

passed #10776051
aarch64
kernel+rootfs_arm64

00:00:47

passed #10776053
aarch64
kernel+rootfs_armhf

00:00:11

passed #10776041
ppc64el_build

00:00:46

passed #10776042
s390x_build

00:00:27

passed #10776037
x86_build

00:00:28

passed #10776046
x86_test-gl

00:00:27

passed #10776048
x86_test-vk

00:00:27

 
  Meson X86 64
passed #10776064
meson-clang

00:10:16

passed #10776066
meson-clover

00:02:32

passed #10776059
meson-clover-testing

00:01:22

passed #10776061
meson-gallium

00:06:43

passed #10776062
meson-release

00:03:52

passed #10776055
meson-testing

00:01:56

passed #10776057
meson-testing-asan

00:03:05

passed #10776068
meson-vulkan

00:01:56

 
  Build Misc
passed #10776069
arm_test

00:00:41

passed #10776071
meson-android

00:01:05

passed #10776075
aarch64
meson-arm64

00:01:33

passed #10776077
aarch64
meson-arm64-asan

00:03:47

passed #10776079
aarch64
meson-arm64-build-test

00:01:29

passed #10776073
aarch64
meson-armhf

00:01:32

passed #10776083
meson-i386

00:01:56

passed #10776089
meson-mingw32-x86_64

00:02:00

passed #10776087
meson-ppc64el

00:02:21

passed #10776085
kvm
meson-s390x

00:04:48

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

00:05:15

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

00:06:05

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

00:10:37

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

00:09:11

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

00:08:16

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

00:06:18

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

00:09:00

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

00:06:06

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

00:05:27

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

00:07:43

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

00:06:35

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

00:11:46

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

00:10:46

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

00:08:33

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

00:10:17

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

00:09:22

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

00:09:39

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

00:09:11

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

00:05:58

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

00:06:10

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

00:06:45

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

00:07:16

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

00:07:50

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

00:05:31

 
  Broadcom
passed #10776169
igalia-rpi4
v3d-rpi4-egl:armhf

00:09:05

passed #10776161
igalia-rpi4
v3d-rpi4-gles2:armhf

00:06:58

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

00:09:38

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

00:09:55

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

00:09:08

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

00:09:30

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

00:07:48

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

00:08:32

passed #10776167
igalia-rpi4
v3d-rpi4-khr-gles2:armhf

00:01:49

passed #10776163
igalia-rpi4
v3d-rpi4-khr-gles31:armhf

00:02:54

passed #10776165
igalia-rpi4
v3d-rpi4-khr-gles3:armhf

00:03:44

passed #10776171
igalia-rpi4
v3d-rpi4-piglit:armhf 1/3

00:10:51

passed #10776173
igalia-rpi4
v3d-rpi4-piglit:armhf 2/3

00:10:26

passed #10776175
igalia-rpi4
v3d-rpi4-piglit:armhf 3/3

00:10:41

passed #10776147
igalia-rpi3
vc4-rpi3-egl:armhf

00:06:36

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

00:04:11

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

00:03:53

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

00:04:06

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

00:04:03

passed #10776145
igalia-rpi3
vc4-rpi3-khr-gles2:armhf

00:01:48

 
  Freedreno
passed #10776177
google-freedreno-db410c
a306_gles2

00:05:24

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

00:09:08

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

00:08:56

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

00:10:13

passed #10776185
google-freedreno-db410c
a306_gles3_options

00:05:01

passed #10776187
google-freedreno-db410c
a306-traces

00:03:59

passed #10776189
google-freedreno-db820c
a530_gles2

00:06:48

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

00:08:04

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

00:09:27

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

00:08:10

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

00:08:26

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

00:09:28

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

00:09:15

passed #10776203
google-freedreno-db820c
a530-traces

00:07:49

passed #10776213
google-freedreno-cheza
a630_egl

00:03:41

passed #10776211
google-freedreno-cheza
a630_gl

00:02:42

passed #10776205
google-freedreno-cheza
a630_gles2

00:02:55

passed #10776209
google-freedreno-cheza
a630_gles3

00:06:06

passed #10776207
google-freedreno-cheza
a630_gles31

00:05:14

passed #10776215
google-freedreno-cheza
a630_gles_others

00:03:54

passed #10776224
google-freedreno-cheza
a630_piglit

00:08:57

passed #10776227
google-freedreno-cheza
a630-traces

00:04:14

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

00:10:01

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

00:10:03

passed #10776222
google-freedreno-cheza
a630_vk_sysmem

00:02:09

 
  Software Renderer
passed #10776273
lavapipe-nir-stress

00:01:54

passed #10776271
lavapipe-vk

00:03:21

passed #10776249
llvmpipe-egl

00:01:46

passed #10776245
llvmpipe-gl

00:03:20

passed #10776239
llvmpipe-gles2

00:01:22

passed #10776241
llvmpipe-gles3

00:05:40

passed #10776243
llvmpipe-gles31

00:09:07

passed #10776247
llvmpipe-khr-gles2

00:01:18

passed #10776229
llvmpipe-piglit-cl

00:01:37

passed #10776233
llvmpipe-piglit-glslparser

00:03:50

passed #10776231
llvmpipe-piglit-quick_gl

00:04:16

passed #10776235
llvmpipe-piglit-quick_shader

00:04:42

passed #10776237
llvmpipe-traces

00:02:04

passed #10776265
softpipe-asan-gles31

00:03:54

passed #10776269
softpipe-gl

00:00:39

passed #10776251
softpipe-gles2

00:00:52

passed #10776253
softpipe-gles3

00:03:16

passed #10776255
softpipe-gles31 1/2

00:02:37

passed #10776257
softpipe-gles31 2/2

00:03:23

passed #10776259
softpipe-khr-gles2

00:00:41

passed #10776261
softpipe-khr-gles3

00:00:38

passed #10776263
softpipe-khr-gles31

00:00:27

passed #10776267
softpipe-piglit-quick

00:07:33

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

00:03:26

passed #10776283
virgl-gl30-on-gl

00:00:32

passed #10776286
virgl-gl31-on-gl

00:00:57

passed #10776288
virgl-gl32-on-gl

00:01:29

passed #10776276
virgl-gles2-on-gl

00:01:30

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

00:02:51

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

00:05:51

passed #10776278
virgl-gles3-on-gl

00:05:35

passed #10776290
kvm
virgl-traces

00:05:18

passed #10776295
zink-lvp-gl

00:01:47

passed #10776293
zink-lvp-gles2

00:03:28

passed #10776294
zink-lvp-gles3

00:02:05

passed #10776291
zink-piglit-quick_gl

00:04:00