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

api_dump layer crash dumping VkPositiveLayerTest.CreateGraphicsPipelineWithIgnoredPointers #1002

Open
TonyBarbour opened this issue Jun 3, 2020 · 1 comment
Labels
Project - apidump apidump issues

Comments

@TonyBarbour
Copy link
Contributor

There are some considerations as to which pointers in vkGraphicsPipelineCreateInfo are valid under different circumstances that aren't built into the xml. This is a test of some of those corner cases.

@KarenGhavam-lunarG KarenGhavam-lunarG added the Project - apidump apidump issues label Jun 12, 2020
@charles-lunarg
Copy link
Contributor

I was able to reproduce this issue, api_dump crashes when trying to print the VkPipelineTessellationStateCreateInfo struct but because the test adds in a very bad pointer, it crashes.

The solution is to special case VkGraphicsPipelineCreateInfo with the necessary checks. I'm not a fan of special casing what should be autogenerated, but alas, if the relevant info isn't expressed in the XML, then there really isn't anything to be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Project - apidump apidump issues
Projects
None yet
Development

No branches or pull requests

3 participants