Skip to content

Commit

Permalink
Add VK_KHR_portability_subset to support MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
kearwood committed Jan 13, 2024
1 parent 2105e93 commit eee56e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kraken/KRDeviceManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@ void KRDeviceManager::createDevices()

const std::vector<const char*> deviceExtensions = {
VK_KHR_SWAPCHAIN_EXTENSION_NAME,
VK_EXT_DESCRIPTOR_INDEXING_EXTENSION_NAME
VK_EXT_DESCRIPTOR_INDEXING_EXTENSION_NAME,
#if defined(__APPLE__)
"VK_KHR_portability_subset",
#endif
};

std::vector<std::unique_ptr<KRDevice>> candidateDevices;
Expand Down

0 comments on commit eee56e4

Please sign in to comment.