anv: Use extended parameters on Gen11+

Gen11 added a nifty feature where we have three custom system-generated
values called extended parameters that we can set to any 32-bit values
we want.  These work just like vertex and instance ID and are controlled
in the pipeline by the 3DSTATE_SGVS_2 packet.  They are provided to the
draw call either by extra DWORDs on the end of 3DSTATE_PRIMITIVE or by
storing values to more state registers.
42 jobs for !3102 with regs/heads/wip/anv-gen11-3dprim-extended-param in 17 minutes and 32 seconds (queued for 3 seconds)
latest detached
Status Job ID Name Coverage
  Container
passed #1154416
aarch64
arm_build

00:00:20

passed #1154417
aarch64
arm_test

00:00:21

passed #1154412
lava_arm64

00:00:21

passed #1154411
lava_armhf

00:00:21

passed #1154413
x86_build

00:00:19

passed #1154415
x86_build_old

00:00:21

passed #1154414
x86_test-gl

00:00:21

 
  Build
passed #1154419
lava-build:arm64

00:04:22

passed #1154418
lava-build:armhf

00:04:31

passed #1154423
aarch64
meson-arm64

00:11:07

passed #1154422
aarch64
meson-armhf

00:05:58

passed #1154424
meson-clang

00:06:13

passed #1154427
meson-clover

00:06:10

passed #1154428
meson-clover-old-llvm

00:06:45

passed #1154430
meson-i386

00:04:45

passed #1154421
meson-main

00:06:43

passed #1154431
meson-mingw32-x86_64

00:01:56

passed #1154420
meson-testing

00:05:26

passed #1154429
meson-vulkan

00:03:40

passed #1154432
scons

00:05:28

passed #1154433
scons-old-llvm

00:06:05

passed #1154425
scons-swr

00:05:03

passed #1154426
scons-win64

00:05:39

 
  Test
passed #1154452
db410c
arm64_a306_gles2

00:05:14

passed #1154449
mesa-cheza
arm64_a630_gles2

00:01:31

passed #1154451
mesa-cheza
arm64_a630_gles3

00:05:56

passed #1154450
mesa-cheza
arm64_a630_gles31

00:04:09

passed #1154434
lava-sun50i-h6-pine-h64
panfrost-t720-test:arm64

00:08:18

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

00:05:38

passed #1154437
lava-meson-gxm-khadas-vim2
panfrost-t820-test:arm64

00:04:27

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

00:04:53

passed #1154439
piglit-glslparser

00:04:25

passed #1154438
piglit-quick_gl

00:09:03

passed #1154440
piglit-quick_shader

00:05:32

passed #1154441
test-llvmpipe-gles2

00:03:49

passed #1154442
test-softpipe-gles2

00:01:10

passed #1154445
test-softpipe-gles31 1/4

00:02:06

passed #1154443
test-softpipe-gles3 1/2

00:03:12

passed #1154446
test-softpipe-gles31 2/4

00:03:59

passed #1154447
test-softpipe-gles31 3/4

00:04:53

passed #1154448
test-softpipe-gles31 4/4

00:03:13

passed #1154444
test-softpipe-gles3 2/2

00:05:16