Set VkPhysicalDeviceDriverPropertiesKHR::driverID to VK_DRIVER_ID_MOLTENVK.

Update to latest version of Vulkan-Headers.
This commit is contained in:
Bill Hollings 2020-07-20 14:51:40 -04:00
parent b4ea11fe2a
commit fc0750d67c
4 changed files with 6 additions and 4 deletions

View File

@ -263,6 +263,7 @@ In addition to core *Vulkan* functionality, **MoltenVK** also supports the foll
- `VK_KHR_descriptor_update_template` - `VK_KHR_descriptor_update_template`
- `VK_KHR_device_group` - `VK_KHR_device_group`
- `VK_KHR_device_group_creation` - `VK_KHR_device_group_creation`
- `VK_KHR_driver_properties`
- `VK_KHR_get_memory_requirements2` - `VK_KHR_get_memory_requirements2`
- `VK_KHR_get_physical_device_properties2` - `VK_KHR_get_physical_device_properties2`
- `VK_KHR_get_surface_capabilities2` - `VK_KHR_get_surface_capabilities2`

View File

@ -19,8 +19,9 @@ MoltenVK 1.0.44
Released TBD Released TBD
- Add support for extensions: - Add support for extensions:
- VK_KHR_sampler_ycbcr_conversion - `VK_KHR_driver_properties`
- VK_EXT_robustness2 - `VK_KHR_sampler_ycbcr_conversion`
- `VK_EXT_robustness2`
- Add native support for `VK_FORMAT_D16_UNORM` on **_iOS 13.0+_** and **_tvOS 13.0+_**. - Add native support for `VK_FORMAT_D16_UNORM` on **_iOS 13.0+_** and **_tvOS 13.0+_**.
- Add support for **_tvOS_** platform. - Add support for **_tvOS_** platform.
- Add support for **_iOS Simulator_** and **_tvOS Simulator_** build destinations. - Add support for **_iOS Simulator_** and **_tvOS Simulator_** build destinations.

View File

@ -1 +1 @@
09531f27933bf04bffde9074acb302e026e8f181 83825d55c7d522931124696ecb07ed48f2693e5c

View File

@ -259,7 +259,7 @@ void MVKPhysicalDevice::getProperties(VkPhysicalDeviceProperties2* properties) {
auto* physicalDeviceDriverProps = (VkPhysicalDeviceDriverPropertiesKHR*)next; auto* physicalDeviceDriverProps = (VkPhysicalDeviceDriverPropertiesKHR*)next;
strcpy(physicalDeviceDriverProps->driverName, "MoltenVK"); strcpy(physicalDeviceDriverProps->driverName, "MoltenVK");
strcpy(physicalDeviceDriverProps->driverInfo, mvkGetMoltenVKVersionString(MVK_VERSION).c_str()); strcpy(physicalDeviceDriverProps->driverInfo, mvkGetMoltenVKVersionString(MVK_VERSION).c_str());
physicalDeviceDriverProps->driverID = (VkDriverId) 0; /* FIXME: VK_DRIVER_ID_MOLTENVK_KHR */ physicalDeviceDriverProps->driverID = VK_DRIVER_ID_MOLTENVK;
physicalDeviceDriverProps->conformanceVersion.major = 0; physicalDeviceDriverProps->conformanceVersion.major = 0;
physicalDeviceDriverProps->conformanceVersion.minor = 0; physicalDeviceDriverProps->conformanceVersion.minor = 0;
physicalDeviceDriverProps->conformanceVersion.subminor = 0; physicalDeviceDriverProps->conformanceVersion.subminor = 0;