summaryrefslogtreecommitdiff
path: root/src/video_core/rasterizer.cpp
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-07-26 06:55:47 -0300
committerGravatar Yuri Kunde Schlesner2015-07-26 06:55:47 -0300
commit13347997ba59aa578d61d5d1ac723ad00953bd96 (patch)
treea84e55883de37980072ce427ed1ced68fe80036b /src/video_core/rasterizer.cpp
parentMerge pull request #990 from lioncash/arm (diff)
downloadyuzu-13347997ba59aa578d61d5d1ac723ad00953bd96.tar.gz
yuzu-13347997ba59aa578d61d5d1ac723ad00953bd96.tar.xz
yuzu-13347997ba59aa578d61d5d1ac723ad00953bd96.zip
VideoCore: #ifdef out some debugging routines
Some disabled debugging functionality was being called from rendering routines in VideoCore. Although disabled, many of them still allocated memory or did some extra work that was enough to show up in a profiler. Gives a slight (~2ms) speedup.
Diffstat (limited to 'src/video_core/rasterizer.cpp')
-rw-r--r--src/video_core/rasterizer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/rasterizer.cpp b/src/video_core/rasterizer.cpp
index e2b90ad1c..68b7cc05d 100644
--- a/src/video_core/rasterizer.cpp
+++ b/src/video_core/rasterizer.cpp
@@ -462,7 +462,9 @@ static void ProcessTriangleInternal(const VertexShader::OutputVertex& v0,
462 462
463 // TODO: Apply the min and mag filters to the texture 463 // TODO: Apply the min and mag filters to the texture
464 texture_color[i] = DebugUtils::LookupTexture(texture_data, s, t, info); 464 texture_color[i] = DebugUtils::LookupTexture(texture_data, s, t, info);
465#if PICA_DUMP_TEXTURES
465 DebugUtils::DumpTexture(texture.config, texture_data); 466 DebugUtils::DumpTexture(texture.config, texture_data);
467#endif
466 } 468 }
467 } 469 }
468 470