summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/ir/ir_emitter.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-03-15 08:54:43 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:23 +0200
commit17a82b56d74afcebaad78ce4754d8ee99ea66f93 (patch)
tree5a4a29a65ee09599daa3b9c4a005070286d6b901 /src/shader_recompiler/frontend/ir/ir_emitter.h
parentshader: Implement CAL inlining function calls (diff)
downloadyuzu-17a82b56d74afcebaad78ce4754d8ee99ea66f93.tar
yuzu-17a82b56d74afcebaad78ce4754d8ee99ea66f93.tar.gz
yuzu-17a82b56d74afcebaad78ce4754d8ee99ea66f93.tar.bz2
yuzu-17a82b56d74afcebaad78ce4754d8ee99ea66f93.tar.lz
yuzu-17a82b56d74afcebaad78ce4754d8ee99ea66f93.tar.xz
yuzu-17a82b56d74afcebaad78ce4754d8ee99ea66f93.tar.zst
yuzu-17a82b56d74afcebaad78ce4754d8ee99ea66f93.zip
Diffstat (limited to 'src/shader_recompiler/frontend/ir/ir_emitter.h')
-rw-r--r--src/shader_recompiler/frontend/ir/ir_emitter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.h b/src/shader_recompiler/frontend/ir/ir_emitter.h
index 74fb3dbcb..27ff5a29d 100644
--- a/src/shader_recompiler/frontend/ir/ir_emitter.h
+++ b/src/shader_recompiler/frontend/ir/ir_emitter.h
@@ -115,6 +115,9 @@ public:
[[nodiscard]] U32 PackFloat2x16(const Value& vector);
[[nodiscard]] Value UnpackFloat2x16(const U32& value);
+ [[nodiscard]] U32 PackHalf2x16(const Value& vector);
+ [[nodiscard]] Value UnpackHalf2x16(const U32& value);
+
[[nodiscard]] F64 PackDouble2x32(const Value& vector);
[[nodiscard]] Value UnpackDouble2x32(const F64& value);