summaryrefslogtreecommitdiff
path: root/src/video_core/shader
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-09-10 10:26:21 -0400
committerLioncash <mathew1800@gmail.com>2015-09-10 10:26:21 -0400
commit526eb33d1eca57cf82e5098b2abaef241b431b5e (patch)
tree8970c0c97751948260a7dac8e0ea6eef7323da03 /src/video_core/shader
parent248b2993e866d66632a7fc7148a2faed3c3c6416 (diff)
video_core: Remove unused variables
Diffstat (limited to 'src/video_core/shader')
-rw-r--r--src/video_core/shader/shader.cpp1
-rw-r--r--src/video_core/shader/shader_jit_x64.cpp1
2 files changed, 0 insertions, 2 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
DebugData<true> ProduceDebugInfo(const InputVertex& input, int num_attributes, const Regs::ShaderConfig& config, const State::ShaderSetup& setup) {
UnitState<true> state;
- const auto& shader_memory = setup.program_code;
state.program_counter = config.main_offset;
state.debug.max_offset = 0;
state.debug.max_opdesc_id = 0;
diff --git a/src/video_core/shader/shader_jit_x64.cpp b/src/video_core/shader/shader_jit_x64.cpp
index 0c02976ac..00415e402 100644
--- a/src/video_core/shader/shader_jit_x64.cpp
+++ b/src/video_core/shader/shader_jit_x64.cpp
@@ -749,7 +749,6 @@ void JitCompiler::Compile_NextInstr(unsigned* offset) {
CompiledShader* JitCompiler::Compile() {
const u8* start = GetCodePtr();
- const auto& code = g_state.vs.program_code;
unsigned offset = g_state.regs.vs.main_offset;
// The stack pointer is 8 modulo 16 at the entry of a procedure