Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cube: Fix layers on Apple #923

Merged
merged 1 commit into from
Nov 17, 2023
Merged

cube: Fix layers on Apple #923

merged 1 commit into from
Nov 17, 2023

Conversation

juan-lunarg
Copy link
Contributor

Otherwise layers won't work on Apple

Otherwise layers won't work on Apple
@ci-tester-lunarg
Copy link

CI Vulkan-Tools build queued with queue ID 85496.

@ci-tester-lunarg
Copy link

CI Vulkan-Tools build # 1293 running.

@ci-tester-lunarg
Copy link

CI Vulkan-Tools build # 1293 passed.

Copy link
Contributor

@charles-lunarg charles-lunarg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Comment on lines -1123 to -1132
// Vulkan-hpp doesn't load moltenkVK, so we use volk to do that for us, then pass vkGetInstanceProcAddr along
VkResult err = volkInitialize();
if (err != VK_SUCCESS) {
ERR_EXIT(
"Unable to find the Vulkan runtime on the system.\n\n"
"This likely indicates that no Vulkan capable drivers are installed.",
"Installation Failure");
}

VULKAN_HPP_DEFAULT_DISPATCHER.init(vkGetInstanceProcAddr);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good riddance to this awful hack.

@juan-lunarg juan-lunarg merged commit ae2a2dc into KhronosGroup:main Nov 17, 2023
19 checks passed
@juan-lunarg juan-lunarg deleted the juan/922 branch November 17, 2023 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants