Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Merge pull request #9406 from vonchenplus/topology

bunneid6c387db4404
diff --cc src/video_core/engines/draw_manager.cpp
index b213c374f7,ef7c5666b7..3a78421f6b
--- a/src/video_core/engines/draw_manager.cpp
+++ b/src/video_core/engines/draw_manager.cpp
@@@ -180,12 -189,13 +189,13 @@@ void DrawManager::UpdateTopology()
}
void DrawManager::ProcessDraw(bool draw_indexed, u32 instance_count) {
- LOG_TRACE(HW_GPU, "called, topology={}, count={}", draw_state.topology.Value(),
+ LOG_TRACE(HW_GPU, "called, topology={}, count={}", draw_state.topology,
draw_indexed ? draw_state.index_buffer.count : draw_state.vertex_buffer.count);
- ProcessTopologyOverride();
+ UpdateTopology();
- if (maxwell3d->ShouldExecute())
+ if (maxwell3d->ShouldExecute()) {
maxwell3d->rasterizer->Draw(draw_indexed, instance_count);
+ }
}
} // namespace Tegra::Engines