diff options
| author | Mai <mathew1800@gmail.com> | 2022-09-29 09:05:51 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-29 09:05:51 -0400 |
| commit | 0c19a1d87cbd51d62833d31d3413c61b3bc8ccf4 (patch) | |
| tree | bd5a76acfeec8d7e70345b8720c5e164ef8e4da7 /Source/Core/VideoBackends/Software/SWVertexLoader.cpp | |
| parent | 3fab5b2338f1b7bc1b4ddc0e283c2650a6e2e825 (diff) | |
| parent | 3d0cd8b076a4a8ff4f6741769781305cd571b5b7 (diff) | |
Merge pull request #11100 from Pokechu22/software-settings-merge
Use the same settings for the software renderer as other backends
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWVertexLoader.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWVertexLoader.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/Core/VideoBackends/Software/SWVertexLoader.cpp b/Source/Core/VideoBackends/Software/SWVertexLoader.cpp index 00357b12d7..a38fd163ec 100644 --- a/Source/Core/VideoBackends/Software/SWVertexLoader.cpp +++ b/Source/Core/VideoBackends/Software/SWVertexLoader.cpp @@ -10,7 +10,6 @@ #include "Common/CommonTypes.h" #include "Common/Logging/Log.h" -#include "VideoBackends/Software/DebugUtil.h" #include "VideoBackends/Software/NativeVertexFormat.h" #include "VideoBackends/Software/Rasterizer.h" #include "VideoBackends/Software/SWRenderer.h" @@ -42,8 +41,6 @@ DataReader SWVertexLoader::PrepareForAdditionalData(OpcodeDecoder::Primitive pri void SWVertexLoader::DrawCurrentBatch(u32 base_index, u32 num_indices, u32 base_vertex) { - DebugUtil::OnObjectBegin(); - using OpcodeDecoder::Primitive; Primitive primitive_type = Primitive::GX_DRAW_QUADS; switch (m_current_primitive_type) @@ -90,10 +87,10 @@ void SWVertexLoader::DrawCurrentBatch(u32 base_index, u32 num_indices, u32 base_ // assemble and rasterize the primitive m_setup_unit.SetupVertex(); - INCSTAT(g_stats.this_frame.num_vertices_loaded) + INCSTAT(g_stats.this_frame.num_vertices_loaded); } - DebugUtil::OnObjectEnd(); + INCSTAT(g_stats.this_frame.num_drawn_objects); } void SWVertexLoader::SetFormat() |
