aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/debug_utils/debug_utils.h
diff options
context:
space:
mode:
authorTony Wasserka <neobrainx@gmail.com>2015-08-16 13:18:56 +0200
committerTony Wasserka <neobrainx@gmail.com>2015-08-16 13:18:56 +0200
commit7312894a6a1a1600629f2eaec8843508a2fd3578 (patch)
tree4f67fb221da50ada7a62efc45788d16950ef16f6 /src/video_core/debug_utils/debug_utils.h
parent0aa443a8715d83745ae8cb2914b74f8a358afc2d (diff)
parent32592364b8f43232fce583d9711a653e99953028 (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.h5
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 81eea30a9..0b30d7ffa 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.