VulkanTools icon indicating copy to clipboard operation
VulkanTools copied to clipboard

api_dump layer crash dumping VkPositiveLayerTest.CreateGraphicsPipelineWithIgnoredPointers

Open TonyBarbour opened this issue 5 years ago • 2 comments

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.

TonyBarbour avatar Jun 03 '20 18:06 TonyBarbour

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.

charles-lunarg avatar Jul 22 '20 20:07 charles-lunarg