anv: Allow null handle in DestroyDescriptorUpdateTemplate.

By the Vulkan specification, and similarly to many other Vulkan calls,
it is allowed to destroy a null descriptor update template.

Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Fixes: af5f13e5 ("anv: add VK_KHR_descriptor_update_template support")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <!9005>
35 jobs for !9005 with null_dut in 6 minutes and 7 seconds (queued for 4 seconds)
detached
Status Job ID Name Coverage
  Sanity
passed #7273042
sanity

00:00:11

 
  Container
passed #7273047
aarch64
arm_build

00:00:19

passed #7273049
arm_test-base

00:00:19

passed #7273051
windows shell 1809 mesa
windows_build_vs2019

00:00:11

passed #7273044
x86_build-base

00:00:18

passed #7273046
x86_test-base

00:00:19

 
  Container 2
passed #7273067
android_build

00:00:21

passed #7273072
arm64_test

00:00:21

passed #7273074
armhf_test

00:00:22

passed #7273061
i386_build

00:00:23

passed #7273054
kernel+rootfs_amd64

00:00:25

passed #7273055
aarch64
kernel+rootfs_arm64

00:00:51

passed #7273057
aarch64
kernel+rootfs_armhf

00:00:13

passed #7273063
ppc64el_build

00:00:19

passed #7273065
s390x_build

00:00:20

passed #7273060
x86_build

00:00:20

passed #7273068
x86_test-gl

00:00:23

passed #7273070
x86_test-vk

00:00:21

 
  Meson X86 64
passed #7273084
meson-clang

00:02:17

passed #7273086
meson-clover

00:03:15

passed #7273079
meson-clover-testing

00:02:19

passed #7273081
gstreamer
meson-gallium

00:03:39

passed #7273083
meson-release

00:02:17

passed #7273076
meson-testing

00:02:20

passed #7273077
meson-testing-asan

00:05:14

passed #7273088
meson-vulkan

00:03:39

 
  Build Misc
passed #7273090
meson-android

00:02:17

passed #7273093
aarch64
meson-arm64

00:01:42

passed #7273095
aarch64
meson-arm64-build-test

00:01:42

passed #7273091
aarch64
meson-armhf

00:01:58

passed #7273099
meson-i386

00:04:29

passed #7273104
meson-mingw32-x86_64

00:03:32

passed #7273102
kvm
meson-ppc64el

00:03:36

passed #7273100
kvm
meson-s390x

00:03:11

failed #7273097
allowed to fail
scons-win64

00:02:57

 
Name Stage Failure
failed
scons-win64 Build Misc
max cache size                       5.0 GB
Uploading artifacts for failed job
Uploading artifacts...
WARNING: _build/meson-logs/*.txt: no matching files
build/*/config.log: found 2 matching files and directories

WARNING: shader-db: no matching files
Uploading artifacts as "archive" to coordinator... ok
id=7273097 responseStatus=201 Created token=zm-gQyEe
Cleaning up file based variables
ERROR: Job failed: exit code 1