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

Correctly handle pre-instance functions #52

Open
solidpixel opened this issue Jan 13, 2025 · 1 comment
Open

Correctly handle pre-instance functions #52

solidpixel opened this issue Jan 13, 2025 · 1 comment

Comments

@solidpixel
Copy link
Contributor

solidpixel commented Jan 13, 2025

Vulkan has a small number of functions that are special and handled by the loader.

These use a different style of intercept than normal intercept functions, and do not layer in the same way. We currently treat them like normal intercepts, which means that things crash if you try to use the intercept with multiple layers installed because the function in the "layer below" is strange and doesn't behave like a driver ...

It's not clear if the Android loader implements the *Chain intercepts at all?

It's not clear that the Khronos VVL implement these correctly either KhronosGroup/Vulkan-Loader#1487

@solidpixel
Copy link
Contributor Author

solidpixel commented Jan 13, 2025

PR #53 disables next-layer queries using vkEnumerateInstanceLayersProperties(), but Android doesn't implement the specified way to do this so we cannot reliably query available extensions for multi-layer scenarios.

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

No branches or pull requests

1 participant