-
Notifications
You must be signed in to change notification settings - Fork 58
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
wrong type for PfnDebugReportCallbackEXT
?
#158
Comments
The spec is not descriptive enough for this: for structures each member is wrapped in a tag, and for commands, but nothing like that exists for the fuction pointers and implementations are left in the dark: <type category="funcpointer">typedef VkBool32 (VKAPI_PTR *<name>PFN_vkDebugReportCallbackEXT</name>)(
<type>VkDebugReportFlagsEXT</type> flags,
<type>VkDebugReportObjectTypeEXT</type> objectType,
<type>uint64_t</type> object,
<type>size_t</type> location,
<type>int32_t</type> messageCode,
const <type>char</type>* pLayerPrefix,
const <type>char</type>* pMessage,
<type>void</type>* pUserData);</type> We can probably hardcode in the generator that char* will always be a |
I see. I suppose the other option here would be a set of overrides on top of the provided data. |
Yep, some parts are already handled like that. Ideally I'd get it fixed in the spec. |
According to https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/PFN_vkDebugReportCallbackEXT.html:
The text was updated successfully, but these errors were encountered: