diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-04-11 04:24:47 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-04-11 04:24:47 +0200 |
commit | ad664b4a01e87c98df91b77f57b4ce98e17d316a (patch) | |
tree | ebf083460ee02b09a874ec1699d181cbb1ea1fe7 /src/video_core/debug_utils/debug_utils.h | |
parent | Merge pull request #1368 from LittleWhite-tb/configure-widget (diff) | |
parent | Pica: Remove geometry dumper (PICA_DUMP_GEOMETRY) (diff) | |
download | yuzu-ad664b4a01e87c98df91b77f57b4ce98e17d316a.tar yuzu-ad664b4a01e87c98df91b77f57b4ce98e17d316a.tar.gz yuzu-ad664b4a01e87c98df91b77f57b4ce98e17d316a.tar.bz2 yuzu-ad664b4a01e87c98df91b77f57b4ce98e17d316a.tar.lz yuzu-ad664b4a01e87c98df91b77f57b4ce98e17d316a.tar.xz yuzu-ad664b4a01e87c98df91b77f57b4ce98e17d316a.tar.zst yuzu-ad664b4a01e87c98df91b77f57b4ce98e17d316a.zip |
Diffstat (limited to 'src/video_core/debug_utils/debug_utils.h')
-rw-r--r-- | src/video_core/debug_utils/debug_utils.h | 21 |
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); |