diff options
| author | Tony Wasserka <neobrainx@gmail.com> | 2015-08-16 13:18:56 +0200 |
|---|---|---|
| committer | Tony Wasserka <neobrainx@gmail.com> | 2015-08-16 13:18:56 +0200 |
| commit | 5e81159e8ef61175a95f9e7fe04edc665a6710e7 (patch) | |
| tree | 4f67fb221da50ada7a62efc45788d16950ef16f6 /src/video_core/debug_utils/debug_utils.h | |
| parent | 63a0b6de7bee35eb93c4428f245db3559eb61613 (diff) | |
| parent | 7617e7144d9754fe519d69c6277e7ab098c2ecd5 (diff) | |
Merge pull request #933 from neobrain/shader_debugger
Shader debugger improvements
Diffstat (limited to 'src/video_core/debug_utils/debug_utils.h')
| -rw-r--r-- | src/video_core/debug_utils/debug_utils.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/debug_utils/debug_utils.h b/src/video_core/debug_utils/debug_utils.h index 81eea30a95..0b30d7ffa9 100644 --- a/src/video_core/debug_utils/debug_utils.h +++ b/src/video_core/debug_utils/debug_utils.h @@ -158,7 +158,6 @@ extern std::shared_ptr<DebugContext> g_debug_context; // TODO: Get rid of this g namespace DebugUtils { #define PICA_DUMP_GEOMETRY 0 -#define PICA_DUMP_SHADERS 0 #define PICA_DUMP_TEXTURES 0 #define PICA_LOG_TEV 0 @@ -182,8 +181,8 @@ private: std::vector<Face> faces; }; -void DumpShader(const u32* binary_data, u32 binary_size, const u32* swizzle_data, u32 swizzle_size, - u32 main_offset, const Regs::VSOutputAttributes* output_attributes); +void DumpShader(const std::string& filename, const Regs::ShaderConfig& config, + const State::ShaderSetup& setup, const Regs::VSOutputAttributes* output_attributes); // Utility class to log Pica commands. |
