bigwheels
bigwheels copied to clipboard
[graphics_pipeline] Wireframe mode crashes for Vulkan build
Specifically for Vulkan and not DX12 build. I tested this with a fresh clone as well to make sure it wasn't issue #349
To repro:
vk_graphics_pipeline.exe --debug-view "Wireframe Mode"
Or start up with default settings and use UI to switch debug-view to wireframe mode.
Error message:
*** VULKAN VALIDATION ERROR MESSAGE ***
Severity : ERROR
Type : [VALIDATION]
Objects : [0]: <UNNAMED OBJECT>
Message : Validation Error: [ VUID-VkPipelineRasterizationStateCreateInfo-polygonMode-01413 ] Object 0: handle = 0x285c8242280, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xf35c5127 | vkCreateGraphicsPipelines parameter, VkPolygonMode pCreateInfos[0]->pRasterizationState->polygonMode cannot be VK_POLYGON_MODE_POINT or VK_POLYGON_MODE_LINE if VkPhysicalDeviceFeatures->fillModeNonSolid is false. The Vulkan spec states: If the fillModeNonSolid feature is not enabled, polygonMode must be VK_POLYGON_MODE_FILL (https://vulkan.lunarg.com/doc/view/1.3.239.0/windows/1.3-extensions/vkspec.html#VUID-VkPipelineRasterizationStateCreateInfo-polygonMode-01413)
Assertion failed: false, file C:\src\git\temp\bigwheels\src\ppx\grfx\vk\vk_instance.cpp, line 115
Debug Error!
Program: ...c\git\temp\bigwheels\build\bin\Debug\vk_graphics_pipeline.exe