st/mesa: add st_variant base class to simplify code for shader variants

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
39 jobs for !2878 with st-cleanupsy in 20 minutes and 36 seconds (queued for 10 seconds)
latest detached
Status Job ID Name Coverage
  Container
passed #1020274
aarch64
arm_build

00:00:23

passed #1020275
aarch64
arm_test

00:00:23

passed #1020270
lava_arm64

00:00:19

passed #1020269
lava_armhf

00:00:21

passed #1020271
x86_build

00:00:17

passed #1020273
x86_build_old

00:00:19

passed #1020272
x86_test

00:00:24

 
  Build
passed #1020277
lava-build:arm64

00:05:39

passed #1020276
lava-build:armhf

00:06:05

passed #1020281
aarch64
meson-arm64

00:06:25

passed #1020280
aarch64
meson-armhf

00:02:59

passed #1020282
meson-clang

00:10:11

passed #1020285
meson-clover

00:02:37

passed #1020286
meson-clover-old-llvm

00:04:16

passed #1020288
meson-i386

00:04:33

passed #1020279
meson-main

00:03:03

passed #1020289
meson-mingw32-x86_64

00:06:42

passed #1020278
meson-testing

00:03:37

passed #1020287
meson-vulkan

00:03:50

passed #1020290
scons

00:04:39

passed #1020291
scons-old-llvm

00:06:34

passed #1020283
scons-swr

00:04:13

passed #1020284
scons-win64

00:04:50

 
  Test
passed #1020307
db410c
arm64_a306_gles2

00:04:58

passed #1020304
mesa-cheza
arm64_a630_gles2

00:01:34

passed #1020306
mesa-cheza
arm64_a630_gles3

00:06:14

passed #1020305
mesa-cheza
arm64_a630_gles31

00:03:57

passed #1020292
lava-rk3288-veyron-jaq
panfrost-t760-test:armhf

00:04:55

passed #1020293
lava-rk3399-gru-kevin
panfrost-t860-test:arm64

00:04:21

passed #1020295
piglit-glslparser+quick_shader

00:06:17

passed #1020294
piglit-quick_gl

00:06:38

passed #1020296
test-llvmpipe-gles2

00:05:16

passed #1020297
test-softpipe-gles2

00:02:56

passed #1020300
test-softpipe-gles31 1/4

00:03:02

passed #1020298
test-softpipe-gles3 1/2

00:03:45

passed #1020301
test-softpipe-gles31 2/4

00:03:10

passed #1020302
test-softpipe-gles31 3/4

00:05:42

passed #1020303
test-softpipe-gles31 4/4

00:03:37

passed #1020299
test-softpipe-gles3 2/2

00:05:05