summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/glsl/reg_alloc.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-05-25 00:35:37 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:36 +0200
commit3d9ecbe99844c44074c26f2db4db376059f50534 (patch)
tree143a67c8da0e7df7568f79196339f5423931c757 /src/shader_recompiler/backend/glsl/reg_alloc.h
parentglsl: Implement FCMP (diff)
downloadyuzu-3d9ecbe99844c44074c26f2db4db376059f50534.tar
yuzu-3d9ecbe99844c44074c26f2db4db376059f50534.tar.gz
yuzu-3d9ecbe99844c44074c26f2db4db376059f50534.tar.bz2
yuzu-3d9ecbe99844c44074c26f2db4db376059f50534.tar.lz
yuzu-3d9ecbe99844c44074c26f2db4db376059f50534.tar.xz
yuzu-3d9ecbe99844c44074c26f2db4db376059f50534.tar.zst
yuzu-3d9ecbe99844c44074c26f2db4db376059f50534.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/backend/glsl/reg_alloc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glsl/reg_alloc.h b/src/shader_recompiler/backend/glsl/reg_alloc.h
index 63c940d3a..7891c30e0 100644
--- a/src/shader_recompiler/backend/glsl/reg_alloc.h
+++ b/src/shader_recompiler/backend/glsl/reg_alloc.h
@@ -48,7 +48,8 @@ static_assert(sizeof(Id) == sizeof(u32));
class RegAlloc {
public:
- std::string Define(IR::Inst& inst, Type type = Type::Void);
+ std::string Define(IR::Inst& inst);
+ std::string Define(IR::Inst& inst, Type type);
std::string Consume(const IR::Value& value);