summaryrefslogtreecommitdiffstats
path: root/src/video_core/debug_utils/debug_utils.h
diff options
context:
space:
mode:
authorJannik Vogel <email@jannikvogel.de>2016-04-10 22:07:06 +0200
committerJannik Vogel <email@jannikvogel.de>2016-04-10 22:07:06 +0200
commitff7c798d8601d59b095e60feea43e98e20054c22 (patch)
tree10bbbe8454dd2516e7d1dcaa9f8ffa05fcf957ea /src/video_core/debug_utils/debug_utils.h
parentMerge pull request #1653 from mailwl/blx-lr (diff)
downloadyuzu-ff7c798d8601d59b095e60feea43e98e20054c22.tar
yuzu-ff7c798d8601d59b095e60feea43e98e20054c22.tar.gz
yuzu-ff7c798d8601d59b095e60feea43e98e20054c22.tar.bz2
yuzu-ff7c798d8601d59b095e60feea43e98e20054c22.tar.lz
yuzu-ff7c798d8601d59b095e60feea43e98e20054c22.tar.xz
yuzu-ff7c798d8601d59b095e60feea43e98e20054c22.tar.zst
yuzu-ff7c798d8601d59b095e60feea43e98e20054c22.zip
Diffstat (limited to 'src/video_core/debug_utils/debug_utils.h')
-rw-r--r--src/video_core/debug_utils/debug_utils.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/video_core/debug_utils/debug_utils.h b/src/video_core/debug_utils/debug_utils.h
index 795160a32..7df941619 100644
--- a/src/video_core/debug_utils/debug_utils.h
+++ b/src/video_core/debug_utils/debug_utils.h
@@ -158,30 +158,9 @@ extern std::shared_ptr<DebugContext> g_debug_context; // TODO: Get rid of this g
namespace DebugUtils {
-#define PICA_DUMP_GEOMETRY 0
#define PICA_DUMP_TEXTURES 0
#define PICA_LOG_TEV 0
-// Simple utility class for dumping geometry data to an OBJ file
-class GeometryDumper {
-public:
- struct Vertex {
- std::array<float,3> pos;
- };
-
- void AddTriangle(Vertex& v0, Vertex& v1, Vertex& v2);
-
- void Dump();
-
-private:
- struct Face {
- int index[3];
- };
-
- std::vector<Vertex> vertices;
- std::vector<Face> faces;
-};
-
void DumpShader(const std::string& filename, const Regs::ShaderConfig& config,
const Shader::ShaderSetup& setup, const Regs::VSOutputAttributes* output_attributes);