summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/glsl/emit_context.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-05-22 07:52:03 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:36 +0200
commit5e9095ef2203e7cddcaba84fa3b01cc0d940b634 (patch)
tree3ecb46dfb2a04ed269ccb07eb85cfa7c8e44a99d /src/shader_recompiler/backend/glsl/emit_context.h
parentglsl: Fixup build issues (diff)
downloadyuzu-5e9095ef2203e7cddcaba84fa3b01cc0d940b634.tar
yuzu-5e9095ef2203e7cddcaba84fa3b01cc0d940b634.tar.gz
yuzu-5e9095ef2203e7cddcaba84fa3b01cc0d940b634.tar.bz2
yuzu-5e9095ef2203e7cddcaba84fa3b01cc0d940b634.tar.lz
yuzu-5e9095ef2203e7cddcaba84fa3b01cc0d940b634.tar.xz
yuzu-5e9095ef2203e7cddcaba84fa3b01cc0d940b634.tar.zst
yuzu-5e9095ef2203e7cddcaba84fa3b01cc0d940b634.zip
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_context.h')
-rw-r--r--src/shader_recompiler/backend/glsl/emit_context.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_context.h b/src/shader_recompiler/backend/glsl/emit_context.h
index f8cf8fdbc..9472f71b9 100644
--- a/src/shader_recompiler/backend/glsl/emit_context.h
+++ b/src/shader_recompiler/backend/glsl/emit_context.h
@@ -66,11 +66,21 @@ public:
}
template <typename... Args>
+ void AddS64(const char* format_str, IR::Inst& inst, Args&&... args) {
+ Add<Type::S64>(format_str, inst, args...);
+ }
+
+ template <typename... Args>
void AddU64(const char* format_str, IR::Inst& inst, Args&&... args) {
Add<Type::U64>(format_str, inst, args...);
}
template <typename... Args>
+ void AddF64(const char* format_str, IR::Inst& inst, Args&&... args) {
+ Add<Type::F64>(format_str, inst, args...);
+ }
+
+ template <typename... Args>
void AddU32x2(const char* format_str, IR::Inst& inst, Args&&... args) {
Add<Type::U32x2>(format_str, inst, args...);
}