diff options
Diffstat (limited to 'src/shader_recompiler/backend/glsl/reg_alloc.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/reg_alloc.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glsl/reg_alloc.cpp b/src/shader_recompiler/backend/glsl/reg_alloc.cpp index a987ce543..b287b870a 100644 --- a/src/shader_recompiler/backend/glsl/reg_alloc.cpp +++ b/src/shader_recompiler/backend/glsl/reg_alloc.cpp | |||
| @@ -74,7 +74,9 @@ std::string RegAlloc::Define(IR::Inst& inst, Type type) { | |||
| 74 | std::string type_str = ""; | 74 | std::string type_str = ""; |
| 75 | if (!register_defined[id.index]) { | 75 | if (!register_defined[id.index]) { |
| 76 | register_defined[id.index] = true; | 76 | register_defined[id.index] = true; |
| 77 | type_str = GetGlslType(type); | 77 | // type_str = GetGlslType(type); |
| 78 | reg_types.push_back(GetGlslType(type)); | ||
| 79 | ++num_used_registers; | ||
| 78 | } | 80 | } |
| 79 | inst.SetDefinition<Id>(id); | 81 | inst.SetDefinition<Id>(id); |
| 80 | return type_str + Representation(id); | 82 | return type_str + Representation(id); |