mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-17 17:49:18 +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:
1 parent
8f2c311670
commit
4a620bb5a1
1 file changed
+1
@@ -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