turnip: fill VkMemoryDedicatedRequirements

We support VK_KHR_dedicated_allocation so we must fill
VkMemoryDedicatedRequirements.

Vulkan spec states:

 "[...] requiresDedicatedAllocation may be VK_TRUE under one of the
 following conditions:

 The pNext chain of VkImageCreateInfo for the call to vkCreateImage used
 to create the image being queried included a VkExternalMemoryImageCreateInfo
 structure, and any of the handle types specified in
 VkExternalMemoryImageCreateInfo::handleTypes requires dedicated allocation,
 as reported by vkGetPhysicalDeviceImageFormatProperties2 in
 VkExternalImageFormatProperties::externalMemoryProperties.externalMemoryFeatures,
 the requiresDedicatedAllocation field will be set to VK_TRUE."

All handle types require dedicated allocation at the moment.

Fixes:
 dEQP-VK.api.external.memory.opaque_fd.dedicated.image.info
 dEQP-VK.memory.requirements.dedicated_allocation.buffer.regular
 dEQP-VK.memory.requirements.dedicated_allocation.image.transient_tiling_optimal

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <!9086>
55 jobs for !9086 with turnip/fix/handle-memory-dedicated-req-struct in 12 minutes and 31 seconds (queued for 4 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed sanity #7938354

00:00:10

 
  Container
passed arm_build #7938357
aarch64

00:00:19

passed arm_test-base #7938358

00:00:17

passed windows_build_vs2019 #7938359
windows shell 1809 mesa

00:00:08

passed x86_build-base #7938355

00:00:16

passed x86_test-base #7938356

00:00:18

 
  Container 2
passed android_build #7938367

00:00:15

passed arm64_test #7938370

00:00:14

passed armhf_test #7938371

00:00:17

passed i386_build #7938364

00:00:14

passed kernel+rootfs_amd64 #7938360

00:00:22

passed kernel+rootfs_arm64 #7938361
aarch64

00:01:18

passed kernel+rootfs_armhf #7938362
aarch64

00:00:11

passed ppc64el_build #7938365

00:00:20

passed s390x_build #7938366

00:00:16

passed x86_build #7938363

00:00:17

passed x86_test-gl #7938368

00:00:17

passed x86_test-vk #7938369

00:00:20

 
  Meson X86 64
passed meson-clang #7938377

00:02:32

passed meson-clover #7938378

00:03:57

passed meson-clover-testing #7938374

00:02:33

passed meson-gallium #7938375
gstreamer

00:01:15

passed meson-release #7938376

00:01:22

passed meson-testing #7938372

00:02:35

passed meson-testing-asan #7938373

00:02:15

passed meson-vulkan #7938379

00:02:32

 
  Build Misc
passed meson-android #7938380

00:01:35

passed meson-arm64 #7938382
aarch64

00:01:30

passed meson-arm64-asan #7938383
aarch64

00:02:56

passed meson-arm64-build-test #7938384
aarch64

00:01:26

passed meson-armhf #7938381
aarch64

00:01:43

passed meson-i386 #7938385

00:01:54

passed meson-mingw32-x86_64 #7938388

00:02:35

passed meson-ppc64el #7938387
kvm

00:01:56

passed meson-s390x #7938386
kvm

00:02:38

 
  Freedreno
passed a306_gles2 #7938389
google-freedreno-db410c

00:04:38

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

00:08:43

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

00:08:42

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

00:08:52

passed a306_gles3_options #7938393
google-freedreno-db410c

00:02:41

passed a530_gles2 #7938394
google-freedreno-db820c

00:05:50

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

00:05:42

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

00:07:45

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

00:06:12

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

00:07:54

passed a630_gl #7938402
google-freedreno-cheza

00:01:27

passed a630_gles2 #7938399
google-freedreno-cheza

00:01:32

passed a630_gles3 #7938401
google-freedreno-cheza

00:04:43

passed a630_gles31 #7938400
google-freedreno-cheza

00:03:56

passed a630_gles_asan #7938404
google-freedreno-cheza

00:03:57

passed a630_gles_others #7938403
google-freedreno-cheza

00:02:35

passed a630-traces #7938408
google-freedreno-cheza

00:06:22

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

00:07:56

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

00:07:47

passed a630_vk_sysmem #7938407
google-freedreno-cheza

00:02:06