tu: allow dynamic primitive topology with tessellation

This allows to set VK_PRIMITIVE_TOPOLOGY_PATCH_LIST dynamically when
tessellation used.

If other values are set via vkCmdSetPrimitiveTopologyEXT for the case,
the validation layer can detect the issue.

Fixes dEQP-VK.pipeline.extended_dynamic_state.*.topology_patch*

Signed-off-by: Hyunjun Ko <zzoon@igalia.com>
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <!12299>
63 jobs for !12299 with fix_dynamic in 18 minutes and 44 seconds (queued for 17 seconds)
latest detached
Status Name Job ID Coverage
  Sanity
passed sanity #12707766

00:00:12

 
  Container
passed debian/arm_build #12707771
aarch64

00:00:16

passed debian/x86_build-base #12707768

00:00:12

passed debian/x86_test-base #12707770

00:00:17

passed fedora/x86_build #12707773

00:00:14

passed windows_build_vs2019 #12707775
windows shell 1809 mesa

00:00:09

 
  Container 2
passed debian/android_build #12707784

00:00:20

passed debian/i386_build #12707779

00:00:20

passed debian/ppc64el_build #12707781

00:00:20

passed debian/s390x_build #12707782

00:00:16

passed debian/x86_build #12707777

00:00:20

passed debian/x86_test-gl #12707786

00:00:10

passed debian/x86_test-vk #12707787

00:00:12

passed kernel+rootfs_amd64 #12707789

00:00:11

passed kernel+rootfs_arm64 #12707791
aarch64

00:00:44

passed kernel+rootfs_armhf #12707792
aarch64

00:00:10

 
  Build X86 64
passed debian-clang #12707804

00:08:44

passed debian-clover #12707806

00:02:05

passed debian-clover-testing #12707798

00:01:48

passed debian-gallium #12707799

00:05:37

passed debian-release #12707801

00:03:08

passed debian-testing #12707795

00:01:58

passed debian-testing-asan #12707796

00:02:33

passed debian-vulkan #12707808

00:01:42

passed fedora-release #12707803

00:03:33

 
  Build Misc
passed debian-android #12707811

00:01:42

passed debian-arm64 #12707815
aarch64

00:01:35

passed debian-arm64-asan #12707817
aarch64

00:02:56

passed debian-arm64-build-test #12707819
aarch64

00:01:32

passed debian-armhf #12707813
aarch64

00:01:33

passed debian/arm_test #12707809

00:00:20

passed debian-i386 #12707821

00:01:42

passed debian-mingw32-x86_64 #12707822

00:02:00

 
  Freedreno
passed a306_gles2 #12707824
google-freedreno-db410c

00:04:48

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

00:08:49

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

00:08:56

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

00:08:50

passed a306_gles3_options #12707832
google-freedreno-db410c

00:03:43

passed a306-traces #12707834
google-freedreno-db410c

00:02:37

passed a530_gles2 #12707836
google-freedreno-db820c

00:05:39

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

00:05:18

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

00:09:24

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

00:06:37

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

00:07:33

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

00:08:13

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

00:08:16

passed a530-traces #12707850
google-freedreno-db820c

00:07:44

passed a630_egl #12707860
google-freedreno-cheza

00:02:16

passed a630_gl #12707858
google-freedreno-cheza

00:01:43

passed a630_gles2 #12707852
google-freedreno-cheza

00:01:33

passed a630_gles3 #12707856
google-freedreno-cheza

00:04:39

passed a630_gles31 #12707854
google-freedreno-cheza

00:09:11

passed a630_gles_others #12707862
google-freedreno-cheza

00:05:24

passed a630_piglit #12707870
google-freedreno-cheza

00:08:28

passed a630-traces #12707872
google-freedreno-cheza

00:04:32

passed a630-traces-performance #12707876
google-freedreno-cheza manual

00:07:37

passed a630-traces-restricted #12707874
google-freedreno-cheza

00:03:11

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

00:09:51

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

00:09:46

passed a630_vk_sysmem #12707868
google-freedreno-cheza

00:02:18

 
  Software Renderer
passed softpipe-asan-gles31 #12707881

00:02:58

passed softpipe-deqp 1/2 #12707878

00:07:02

passed softpipe-deqp 2/2 #12707880

00:08:14