glsl: Add many FP32/64 instructions
This commit is contained in:
parent
53667ddd4e
commit
5e9095ef22
12 changed files with 1011 additions and 765 deletions
|
@ -65,11 +65,21 @@ public:
|
|||
Add<Type::F32>(format_str, inst, args...);
|
||||
}
|
||||
|
||||
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...);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue