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

Properly designate vkGetPhysicalDeviceToolProperties as a device entry-point. #2437

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

squidbus
Copy link
Contributor

@squidbus squidbus commented Feb 7, 2025

PR #2435 implemented VK_EXT_tooling_info using the existing entry-point definition of vkGetPhysicalDeviceToolProperties, but missed that the entry point had previously been misclassified as an instance entry-point instead of a device entry-point. According to the spec, as well as the extension definition in MoltenVK, it is a device extension, not an instance extension.

This PR fixes the issue by re-classifying as a device entry-point. It also happens to fix that it was being added with a KHR suffix instead of EXT. I seem to have missed this as it only causes problems when linking with MoltenVK directly without the libvulkan loader.

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.

1 participant