venus: Use VkPhysicalDeviceVulkan13{Features,Properties}
authorChad Versace <chadversary@chromium.org>
Tue, 30 Aug 2022 23:42:07 +0000 (16:42 -0700)
committerMarge Bot <emma+marge@anholt.net>
Wed, 14 Sep 2022 15:32:22 +0000 (15:32 +0000)
commit0ca7f923c5be3db6891d2f876db6660a7ee107f2
treed52b426b213bc45a2468d934b3b1530d605509f4
parent3a366f105503fe5ff3efafda577b2b7f87378220
venus: Use VkPhysicalDeviceVulkan13{Features,Properties}

Add the structs to vn_physical_device, just like we do for the 1.1 and
1.2 structs.

Prepares for Vulkan 1.3 enablement. No intended change in behavior.

Tested with gpu Intel Tigerlake on CrOS device volteer.

I tested only a small subset of dEQP because this branch only touches
the code for VkPhysicalDevice{Features2,Properties2}.

  vulkan-cts-1.3.3.0
  dEQP-VK.api.info.*
  dEQP-VK.api.smoke.*
  pass/skip/fail = 3796/9/0

I tested Dota 2 on borealis on volteer, with non-Proton Vulkan.  The
game launches and reaches the main menu. Same with Hades with DX on
Proton 7.

Signed-off-by: Chad Versace <chadversary@chromium.org>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18158>
src/virtio/vulkan/vn_buffer.c
src/virtio/vulkan/vn_physical_device.c
src/virtio/vulkan/vn_physical_device.h