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

vkGetInstanceProcAddr disabled extension commands get undefined behavior or NULL? #70

Closed
krOoze opened this issue Sep 7, 2018 · 1 comment

Comments

@krOoze
Copy link
Contributor

krOoze commented Sep 7, 2018

LoaderAndLayerInterface.md:

If you get an Extension function using either vkGetInstanceProcAddr or vkGetDeviceProcAddr, but fail to enable it, you could experience undefined behavior. This should actually be flagged if you run with Validation layers enabled.

The vkGetInstanceProcAddr Spec:

instance pName return value
* NULL undefined
invalid instance * undefined
instance enabled instance extension commands for instance fp1
instance * (any pName not covered above) NULL

So which is it?

@lenny-lunarg
Copy link
Contributor

I just searched through the document and I couldn't this statement or any similar one. My assumption is that this was in the doc but we removed it at some point and didn't update this issue. As such, I'm closing this issue because I believe it's resolved.

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

2 participants