summaryrefslogtreecommitdiff
path: root/src/video_core/shader/shader.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2016-05-12 19:32:44 -0400
committerGravatar bunnei2016-05-12 19:32:44 -0400
commitd474d117f6ec1196967e50f8e94b95de6044c826 (patch)
tree878b9bd2fb115e68b710774a90a687caf9501edd /src/video_core/shader/shader.cpp
parentMerge pull request #1690 from JayFoxRox/tex-type-3 (diff)
parentMove program_counter and call_stack from UnitState to interpreter (diff)
downloadyuzu-d474d117f6ec1196967e50f8e94b95de6044c826.tar.gz
yuzu-d474d117f6ec1196967e50f8e94b95de6044c826.tar.xz
yuzu-d474d117f6ec1196967e50f8e94b95de6044c826.zip
Merge pull request #1783 from JayFoxRox/cleanup-shadersetup
Cleanup ShaderSetup (Part 1)
Diffstat (limited to 'src/video_core/shader/shader.cpp')
-rw-r--r--src/video_core/shader/shader.cpp2
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,
143DebugData<true> ShaderSetup::ProduceDebugInfo(const InputVertex& input, int num_attributes, const Regs::ShaderConfig& config, const ShaderSetup& setup) { 142DebugData<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