diff options
| author | 2016-05-12 10:25:38 +0200 | |
|---|---|---|
| committer | 2016-05-12 19:05:42 +0200 | |
| commit | 7e756faaba5b706142266c52e621534c0ff46c67 (patch) | |
| tree | 878b9bd2fb115e68b710774a90a687caf9501edd /src/video_core/shader/shader.cpp | |
| parent | Move default_attributes into Pica state (diff) | |
| download | yuzu-7e756faaba5b706142266c52e621534c0ff46c67.tar.gz yuzu-7e756faaba5b706142266c52e621534c0ff46c67.tar.xz yuzu-7e756faaba5b706142266c52e621534c0ff46c67.zip | |
Move program_counter and call_stack from UnitState to interpreter
Diffstat (limited to 'src/video_core/shader/shader.cpp')
| -rw-r--r-- | src/video_core/shader/shader.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/video_core/shader/shader.cpp b/src/video_core/shader/shader.cpp index 449fc703f..e93a9d92a 100644 --- a/src/video_core/shader/shader.cpp +++ b/src/video_core/shader/shader.cpp | |||
| @@ -67,7 +67,6 @@ OutputVertex ShaderSetup::Run(UnitState<false>& state, const InputVertex& input, | |||
| 67 | 67 | ||
| 68 | MICROPROFILE_SCOPE(GPU_Shader); | 68 | MICROPROFILE_SCOPE(GPU_Shader); |
| 69 | 69 | ||
| 70 | state.program_counter = config.main_offset; | ||
| 71 | state.debug.max_offset = 0; | 70 | state.debug.max_offset = 0; |
| 72 | state.debug.max_opdesc_id = 0; | 71 | state.debug.max_opdesc_id = 0; |
| 73 | 72 | ||
| @@ -143,7 +142,6 @@ OutputVertex ShaderSetup::Run(UnitState<false>& state, const InputVertex& input, | |||
| 143 | DebugData<true> ShaderSetup::ProduceDebugInfo(const InputVertex& input, int num_attributes, const Regs::ShaderConfig& config, const ShaderSetup& setup) { | 142 | DebugData<true> ShaderSetup::ProduceDebugInfo(const InputVertex& input, int num_attributes, const Regs::ShaderConfig& config, const ShaderSetup& setup) { |
| 144 | UnitState<true> state; | 143 | UnitState<true> state; |
| 145 | 144 | ||
| 146 | state.program_counter = config.main_offset; | ||
| 147 | state.debug.max_offset = 0; | 145 | state.debug.max_offset = 0; |
| 148 | state.debug.max_opdesc_id = 0; | 146 | state.debug.max_opdesc_id = 0; |
| 149 | 147 | ||