diff options
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_context.h')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_context.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_context.h b/src/shader_recompiler/backend/glsl/emit_context.h index 1cd051b24..66f70d355 100644 --- a/src/shader_recompiler/backend/glsl/emit_context.h +++ b/src/shader_recompiler/backend/glsl/emit_context.h | |||
| @@ -91,6 +91,21 @@ public: | |||
| 91 | } | 91 | } |
| 92 | 92 | ||
| 93 | template <typename... Args> | 93 | template <typename... Args> |
| 94 | void AddU32x3(const char* format_str, IR::Inst& inst, Args&&... args) { | ||
| 95 | Add<Type::U32x3>(format_str, inst, args...); | ||
| 96 | } | ||
| 97 | |||
| 98 | template <typename... Args> | ||
| 99 | void AddF32x3(const char* format_str, IR::Inst& inst, Args&&... args) { | ||
| 100 | Add<Type::F32x3>(format_str, inst, args...); | ||
| 101 | } | ||
| 102 | |||
| 103 | template <typename... Args> | ||
| 104 | void AddU32x4(const char* format_str, IR::Inst& inst, Args&&... args) { | ||
| 105 | Add<Type::U32x4>(format_str, inst, args...); | ||
| 106 | } | ||
| 107 | |||
| 108 | template <typename... Args> | ||
| 94 | void AddF32x4(const char* format_str, IR::Inst& inst, Args&&... args) { | 109 | void AddF32x4(const char* format_str, IR::Inst& inst, Args&&... args) { |
| 95 | Add<Type::F32x4>(format_str, inst, args...); | 110 | Add<Type::F32x4>(format_str, inst, args...); |
| 96 | } | 111 | } |