summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glsl/reg_alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/backend/glsl/reg_alloc.h')
-rw-r--r--src/shader_recompiler/backend/glsl/reg_alloc.h2
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 @@
12namespace Shader::IR { 12namespace Shader::IR {
13class Inst; 13class Inst;
14class Value; 14class Value;
15enum class Type;
15} // namespace Shader::IR 16} // namespace Shader::IR
16 17
17namespace Shader::Backend::GLSL { 18namespace Shader::Backend::GLSL {
@@ -50,6 +51,7 @@ class RegAlloc {
50public: 51public:
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