mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 22:41:18 +12:00
enable triangle fan support
This commit is contained in:
parent
41ee2e75ae
commit
1412d1e70a
4 changed files with 13 additions and 4 deletions
|
@ -449,6 +449,8 @@ void MetalRenderer::AppendOverlayDebugInfo()
|
|||
ImGui::Text("--- Metal info (per frame) ---");
|
||||
ImGui::Text("Command buffers %zu", m_commandBuffers.size());
|
||||
ImGui::Text("Render passes %u", m_performanceMonitor.m_renderPasses);
|
||||
ImGui::Text("Vertex buffer restrides %u", m_performanceMonitor.m_vertexBufferRestrides);
|
||||
ImGui::Text("Triangle fans %u", m_performanceMonitor.m_triangleFans);
|
||||
}
|
||||
|
||||
// TODO: halfZ
|
||||
|
@ -1221,6 +1223,10 @@ void MetalRenderer::draw_execute(uint32 baseVertex, uint32 baseInstance, uint32
|
|||
|
||||
LatteStreamout_FinishDrawcall(false);
|
||||
|
||||
// Debug
|
||||
if (primitiveMode == LattePrimitiveMode::TRIANGLE_FAN)
|
||||
m_performanceMonitor.m_triangleFans++;
|
||||
|
||||
LatteGPUState.drawCallCounter++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue