diff options
Diffstat (limited to 'src/shader_recompiler/backend/glsl/reg_alloc.h')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/reg_alloc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/glsl/reg_alloc.h b/src/shader_recompiler/backend/glsl/reg_alloc.h index 7891c30e0..581954e44 100644 --- a/src/shader_recompiler/backend/glsl/reg_alloc.h +++ b/src/shader_recompiler/backend/glsl/reg_alloc.h | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | namespace Shader::IR { | 12 | namespace Shader::IR { |
| 13 | class Inst; | 13 | class Inst; |
| 14 | class Value; | 14 | class Value; |
| 15 | enum class Type; | ||
| 15 | } // namespace Shader::IR | 16 | } // namespace Shader::IR |
| 16 | 17 | ||
| 17 | namespace Shader::Backend::GLSL { | 18 | namespace Shader::Backend::GLSL { |
| @@ -50,6 +51,7 @@ class RegAlloc { | |||
| 50 | public: | 51 | public: |
| 51 | std::string Define(IR::Inst& inst); | 52 | std::string Define(IR::Inst& inst); |
| 52 | std::string Define(IR::Inst& inst, Type type); | 53 | std::string Define(IR::Inst& inst, Type type); |
| 54 | std::string Define(IR::Inst& inst, IR::Type type); | ||
| 53 | 55 | ||
| 54 | std::string Consume(const IR::Value& value); | 56 | std::string Consume(const IR::Value& value); |
| 55 | 57 | ||