diff options
author | bunnei <bunneidev@gmail.com> | 2015-07-26 11:45:51 -0400 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-07-26 11:45:51 -0400 |
commit | cb76453ec40eec3710e6092f89d3c0d49a5b0ddf (patch) | |
tree | a161341d0efc0cbf3823d058eb9bfe39d77f7144 /src/video_core/debug_utils/debug_utils.cpp | |
parent | 72237a930509d353f9029d7245855780071dd663 (diff) | |
parent | 13347997ba59aa578d61d5d1ac723ad00953bd96 (diff) |
Merge pull request #992 from yuriks/hot-path-debug
VideoCore: #ifdef out some debugging routines
Diffstat (limited to 'src/video_core/debug_utils/debug_utils.cpp')
-rw-r--r-- | src/video_core/debug_utils/debug_utils.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp index c3f8321c..e9a85841 100644 --- a/src/video_core/debug_utils/debug_utils.cpp +++ b/src/video_core/debug_utils/debug_utils.cpp @@ -90,10 +90,6 @@ void GeometryDumper::AddTriangle(Vertex& v0, Vertex& v1, Vertex& v2) { } void GeometryDumper::Dump() { - // NOTE: Permanently enabling this just trashes the hard disk for no reason. - // Hence, this is currently disabled. - return; - static int index = 0; std::string filename = std::string("geometry_dump") + std::to_string(++index) + ".obj"; @@ -116,10 +112,6 @@ void GeometryDumper::Dump() { void DumpShader(const u32* binary_data, u32 binary_size, const u32* swizzle_data, u32 swizzle_size, u32 main_offset, const Regs::VSOutputAttributes* output_attributes) { - // NOTE: Permanently enabling this just trashes hard disks for no reason. - // Hence, this is currently disabled. - return; - struct StuffToWrite { u8* pointer; u32 size; @@ -565,10 +557,6 @@ TextureInfo TextureInfo::FromPicaRegister(const Regs::TextureConfig& config, } void DumpTexture(const Pica::Regs::TextureConfig& texture_config, u8* data) { - // NOTE: Permanently enabling this just trashes hard disks for no reason. - // Hence, this is currently disabled. - return; - #ifndef HAVE_PNG return; #else |