diff options
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 b77503806..cc9f70869 100644 --- a/src/video_core/vertex_shader.cpp +++ b/src/video_core/vertex_shader.cpp | |||
| @@ -582,9 +582,11 @@ OutputVertex RunShader(const InputVertex& input, int num_attributes, const Regs: | |||
| 582 | state.conditional_code[1] = false; | 582 | state.conditional_code[1] = false; |
| 583 | 583 | ||
| 584 | ProcessShaderCode(state); | 584 | ProcessShaderCode(state); |
| 585 | #if PICA_DUMP_SHADERS | ||
| 585 | DebugUtils::DumpShader(setup.program_code.data(), state.debug.max_offset, setup.swizzle_data.data(), | 586 | DebugUtils::DumpShader(setup.program_code.data(), state.debug.max_offset, setup.swizzle_data.data(), |
| 586 | state.debug.max_opdesc_id, config.main_offset, | 587 | state.debug.max_opdesc_id, config.main_offset, |
| 587 | g_state.regs.vs_output_attributes); // TODO: Don't hardcode VS here | 588 | g_state.regs.vs_output_attributes); // TODO: Don't hardcode VS here |
| 589 | #endif | ||
| 588 | 590 | ||
| 589 | // Setup output data | 591 | // Setup output data |
| 590 | OutputVertex ret; | 592 | OutputVertex ret; |