diff options
| author | 2015-07-26 11:45:51 -0400 | |
|---|---|---|
| committer | 2015-07-26 11:45:51 -0400 | |
| commit | cb76453ec40eec3710e6092f89d3c0d49a5b0ddf (patch) | |
| tree | a161341d0efc0cbf3823d058eb9bfe39d77f7144 /src/video_core/vertex_shader.cpp | |
| parent | Merge pull request #987 from yuriks/regnames (diff) | |
| parent | VideoCore: #ifdef out some debugging routines (diff) | |
| download | yuzu-cb76453ec40eec3710e6092f89d3c0d49a5b0ddf.tar.gz yuzu-cb76453ec40eec3710e6092f89d3c0d49a5b0ddf.tar.xz yuzu-cb76453ec40eec3710e6092f89d3c0d49a5b0ddf.zip | |
Merge pull request #992 from yuriks/hot-path-debug
VideoCore: #ifdef out some debugging routines
Diffstat (limited to 'src/video_core/vertex_shader.cpp')
| -rw-r--r-- | src/video_core/vertex_shader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/vertex_shader.cpp b/src/video_core/vertex_shader.cpp index e73a1d365..960ae5779 100644 --- a/src/video_core/vertex_shader.cpp +++ b/src/video_core/vertex_shader.cpp | |||
| @@ -579,9 +579,11 @@ OutputVertex RunShader(const InputVertex& input, int num_attributes, const Regs: | |||
| 579 | state.conditional_code[1] = false; | 579 | state.conditional_code[1] = false; |
| 580 | 580 | ||
| 581 | ProcessShaderCode(state); | 581 | ProcessShaderCode(state); |
| 582 | #if PICA_DUMP_SHADERS | ||
| 582 | DebugUtils::DumpShader(setup.program_code.data(), state.debug.max_offset, setup.swizzle_data.data(), | 583 | DebugUtils::DumpShader(setup.program_code.data(), state.debug.max_offset, setup.swizzle_data.data(), |
| 583 | state.debug.max_opdesc_id, config.main_offset, | 584 | state.debug.max_opdesc_id, config.main_offset, |
| 584 | g_state.regs.vs_output_attributes); // TODO: Don't hardcode VS here | 585 | g_state.regs.vs_output_attributes); // TODO: Don't hardcode VS here |
| 586 | #endif | ||
| 585 | 587 | ||
| 586 | // Setup output data | 588 | // Setup output data |
| 587 | OutputVertex ret; | 589 | OutputVertex ret; |