MoltenVK_icd.json support VK_KHR_portability_enumeration extension.
Update README.md and MoltenVK_Runtime_UserGuide.md to document the impact of the VK_KHR_portability_enumeration extension during runtime loading on macOS. Update MoltenVK version to 1.1.10.
This commit is contained in:
parent
d2fe5e1ad0
commit
9fa373ebbb
@ -332,6 +332,15 @@ In order to visibly display your content on *macOS*, *iOS*, or *tvOS*, you must
|
|||||||
*Vulkan* rendering surface. You can enable the `VK_EXT_metal_surface` extension by defining the `VK_USE_PLATFORM_METAL_EXT` guard macro in your compiler build settings. See the description of
|
*Vulkan* rendering surface. You can enable the `VK_EXT_metal_surface` extension by defining the `VK_USE_PLATFORM_METAL_EXT` guard macro in your compiler build settings. See the description of
|
||||||
the `mvk_vulkan.h` file below for a convenient way to enable this extension automatically.
|
the `mvk_vulkan.h` file below for a convenient way to enable this extension automatically.
|
||||||
|
|
||||||
|
Because **MoltenVK** supports the `VK_KHR_portability_subset` extension, when using the
|
||||||
|
*Vulkan Loader* from the *Vulkan SDK* to run **MoltenVK** on *macOS*, the *Vulkan Loader*
|
||||||
|
will only include **MoltenVK** `VkPhysicalDevices` in the list returned by
|
||||||
|
`vkEnumeratePhysicalDevices()` if the `VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR`
|
||||||
|
flag is enabled in `vkCreateInstance()`. See the description of the `VK_KHR_portability_enumeration`
|
||||||
|
extension in the *Vulkan* specification for more information about the use of the
|
||||||
|
`VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR` flag.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a name="moltenvk_extension"></a>
|
<a name="moltenvk_extension"></a>
|
||||||
### MoltenVK `VK_MVK_moltenvk` Extension
|
### MoltenVK `VK_MVK_moltenvk` Extension
|
||||||
|
@ -13,6 +13,18 @@ Copyright (c) 2015-2022 [The Brenwill Workshop Ltd.](http://www.brenwill.com)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
MoltenVK 1.1.10
|
||||||
|
--------------
|
||||||
|
|
||||||
|
Released TBD
|
||||||
|
|
||||||
|
- Add support for extensions:
|
||||||
|
- `VK_KHR_portability_enumeration` support added to `MoltenVK_icd.json`, and documentation
|
||||||
|
updated to indicate the impact of the `VK_KHR_portability_enumeration` extension during
|
||||||
|
runtime loading on *macOS* via the *Vulkan Loader*.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
MoltenVK 1.1.9
|
MoltenVK 1.1.9
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
"file_format_version" : "1.0.0",
|
"file_format_version" : "1.0.0",
|
||||||
"ICD": {
|
"ICD": {
|
||||||
"library_path": "./libMoltenVK.dylib",
|
"library_path": "./libMoltenVK.dylib",
|
||||||
"api_version" : "1.1.0"
|
"api_version" : "1.1.0",
|
||||||
|
"is_portability_driver" : true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -46,6 +46,14 @@ If you are developing a *Vulkan* application for *macOS*, it is highly recommend
|
|||||||
Refer to the *Vulkan SDK [Getting Started](https://vulkan.lunarg.com/doc/sdk/latest/mac/getting_started.html)*
|
Refer to the *Vulkan SDK [Getting Started](https://vulkan.lunarg.com/doc/sdk/latest/mac/getting_started.html)*
|
||||||
document for more info.
|
document for more info.
|
||||||
|
|
||||||
|
Because **MoltenVK** supports the `VK_KHR_portability_subset` extension, when using the
|
||||||
|
*Vulkan Loader* from the *Vulkan SDK* to run **MoltenVK** on *macOS*, the *Vulkan Loader*
|
||||||
|
will only include **MoltenVK** `VkPhysicalDevices` in the list returned by
|
||||||
|
`vkEnumeratePhysicalDevices()` if the `VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR`
|
||||||
|
flag is enabled in `vkCreateInstance()`. See the description of the `VK_KHR_portability_enumeration`
|
||||||
|
extension in the *Vulkan* specification for more information about the use of the
|
||||||
|
`VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR` flag.
|
||||||
|
|
||||||
If you are developing a *Vulkan* application for *iOS* or *tvOS*, or are developing a *Vulkan*
|
If you are developing a *Vulkan* application for *iOS* or *tvOS*, or are developing a *Vulkan*
|
||||||
application for *macOS* and want to use a different version of the **MoltenVK** runtime library
|
application for *macOS* and want to use a different version of the **MoltenVK** runtime library
|
||||||
provided in the *macOS Vulkan SDK*, you can use this document to learn how to build a **MoltenVK**
|
provided in the *macOS Vulkan SDK*, you can use this document to learn how to build a **MoltenVK**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user