Use VK_KHR_maintenance9 (drop queue transfer)
This commit is contained in:
@@ -249,6 +249,9 @@ wivrn::vk_bundle::vk_bundle() :
|
||||
#endif
|
||||
#ifdef VK_KHR_video_encode_intra_refresh
|
||||
VK_KHR_VIDEO_ENCODE_INTRA_REFRESH_EXTENSION_NAME,
|
||||
#endif
|
||||
#ifdef VK_KHR_maintenance9
|
||||
VK_KHR_MAINTENANCE_9_EXTENSION_NAME,
|
||||
#endif
|
||||
};
|
||||
for (auto & ext: physical_device.enumerateDeviceExtensionProperties())
|
||||
@@ -283,6 +286,13 @@ wivrn::vk_bundle::vk_bundle() :
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
#ifdef VK_KHR_maintenance9
|
||||
if (has_device_ext(VK_KHR_MAINTENANCE_9_EXTENSION_NAME))
|
||||
{
|
||||
std::get<vk::PhysicalDeviceMaintenance9FeaturesKHR>(feat).maintenance9 =
|
||||
std::get<vk::PhysicalDeviceMaintenance9FeaturesKHR>(physical_device.getFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceMaintenance9FeaturesKHR>()).maintenance9;
|
||||
}
|
||||
#endif
|
||||
|
||||
// Enable features
|
||||
auto [phys_feat, phys_feat12, phys_feat13] = physical_device.getFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceVulkan12Features, vk::PhysicalDeviceVulkan13Features>();
|
||||
|
||||
Reference in New Issue
Block a user