mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 15:06:32 +00:00
Fix Vulkan wireframe overlay, set the dynamic state polygonMode
When replaying capture using "vkCmdSetPolygonModeEXT(VK_POLYGON_MODE_FILL)"
This commit is contained in:
@@ -902,6 +902,7 @@ ResourceId VulkanReplay::RenderOverlay(ResourceId texid, FloatVector clearCol, D
|
||||
else if(m_pDriver->GetDeviceEnabledFeatures().fillModeNonSolid)
|
||||
{
|
||||
rs->polygonMode = VK_POLYGON_MODE_LINE;
|
||||
state.polygonMode = rs->polygonMode;
|
||||
}
|
||||
else if(prevstate.primitiveTopology == VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST ||
|
||||
prevstate.primitiveTopology == VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP ||
|
||||
|
||||
Reference in New Issue
Block a user