Sfoglia il codice sorgente

glsl: Remove unreachable return

Narr the Reg 4 anni fa
parent
commit
524674aafc
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      src/shader_recompiler/backend/glsl/var_alloc.cpp

+ 0 - 1
src/shader_recompiler/backend/glsl/var_alloc.cpp

@@ -131,7 +131,6 @@ std::string VarAlloc::AddDefine(IR::Inst& inst, GlslVarType type) {
     } else {
         return "";
     }
-    return Representation(inst.Definition<Id>());
 }
 
 std::string VarAlloc::Consume(const IR::Value& value) {