Added config changes to support Vulkan 1.3.216.0 and later with portability bit set on macOS
This commit is contained in:
parent
4390eb0ff8
commit
753b2614f6
2 changed files with 11 additions and 0 deletions
|
|
@ -248,6 +248,10 @@ namespace vks
|
|||
deviceExtensions.push_back(VK_KHR_SWAPCHAIN_EXTENSION_NAME);
|
||||
}
|
||||
|
||||
#if defined(VK_USE_PLATFORM_MACOS_MVK)
|
||||
deviceExtensions.push_back("VK_KHR_portability_subset");
|
||||
#endif
|
||||
|
||||
VkDeviceCreateInfo deviceCreateInfo = {};
|
||||
deviceCreateInfo.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO;
|
||||
deviceCreateInfo.queueCreateInfoCount = static_cast<uint32_t>(queueCreateInfos.size());;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue