diff options
| author | 2022-01-04 20:22:37 -0600 | |
|---|---|---|
| committer | 2022-01-04 20:23:39 -0600 | |
| commit | 524674aafc0935fa48a61cac68ad6e25cc20c07f (patch) | |
| tree | 95512747b43192e28be4755156e747dce1ea5a00 /src/shader_recompiler/backend/glsl/var_alloc.cpp | |
| parent | Merge pull request #7251 from FernandoS27/shader-dump (diff) | |
| download | yuzu-524674aafc0935fa48a61cac68ad6e25cc20c07f.tar.gz yuzu-524674aafc0935fa48a61cac68ad6e25cc20c07f.tar.xz yuzu-524674aafc0935fa48a61cac68ad6e25cc20c07f.zip | |
glsl: Remove unreachable return
Diffstat (limited to 'src/shader_recompiler/backend/glsl/var_alloc.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/var_alloc.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glsl/var_alloc.cpp b/src/shader_recompiler/backend/glsl/var_alloc.cpp index 194f926ca..be0a695c0 100644 --- a/src/shader_recompiler/backend/glsl/var_alloc.cpp +++ b/src/shader_recompiler/backend/glsl/var_alloc.cpp | |||
| @@ -131,7 +131,6 @@ std::string VarAlloc::AddDefine(IR::Inst& inst, GlslVarType type) { | |||
| 131 | } else { | 131 | } else { |
| 132 | return ""; | 132 | return ""; |
| 133 | } | 133 | } |
| 134 | return Representation(inst.Definition<Id>()); | ||
| 135 | } | 134 | } |
| 136 | 135 | ||
| 137 | std::string VarAlloc::Consume(const IR::Value& value) { | 136 | std::string VarAlloc::Consume(const IR::Value& value) { |