diff options
| author | 2015-09-10 10:26:21 -0400 | |
|---|---|---|
| committer | 2015-09-10 10:26:21 -0400 | |
| commit | 526eb33d1eca57cf82e5098b2abaef241b431b5e (patch) | |
| tree | 8970c0c97751948260a7dac8e0ea6eef7323da03 /src/video_core/shader/shader.cpp | |
| parent | Merge pull request #1131 from lioncash/uninit (diff) | |
| download | yuzu-526eb33d1eca57cf82e5098b2abaef241b431b5e.tar.gz yuzu-526eb33d1eca57cf82e5098b2abaef241b431b5e.tar.xz yuzu-526eb33d1eca57cf82e5098b2abaef241b431b5e.zip | |
video_core: Remove unused variables
Diffstat (limited to 'src/video_core/shader/shader.cpp')
| -rw-r--r-- | src/video_core/shader/shader.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video_core/shader/shader.cpp b/src/video_core/shader/shader.cpp index f89117521..59f54236b 100644 --- a/src/video_core/shader/shader.cpp +++ b/src/video_core/shader/shader.cpp | |||
| @@ -146,7 +146,6 @@ OutputVertex Run(UnitState<false>& state, const InputVertex& input, int num_attr | |||
| 146 | DebugData<true> ProduceDebugInfo(const InputVertex& input, int num_attributes, const Regs::ShaderConfig& config, const State::ShaderSetup& setup) { | 146 | DebugData<true> ProduceDebugInfo(const InputVertex& input, int num_attributes, const Regs::ShaderConfig& config, const State::ShaderSetup& setup) { |
| 147 | UnitState<true> state; | 147 | UnitState<true> state; |
| 148 | 148 | ||
| 149 | const auto& shader_memory = setup.program_code; | ||
| 150 | state.program_counter = config.main_offset; | 149 | state.program_counter = config.main_offset; |
| 151 | state.debug.max_offset = 0; | 150 | state.debug.max_offset = 0; |
| 152 | state.debug.max_opdesc_id = 0; | 151 | state.debug.max_opdesc_id = 0; |