summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/ir/ir_emitter.h
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2021-04-02 23:05:47 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:26 +0200
commit45d547af11a18434ea17e4427db7286856a19537 (patch)
treea12a3d283abb99d52c3084b9ded7d1aa9b0bd03f /src/shader_recompiler/frontend/ir/ir_emitter.h
parentshader: Fix shared memory on cool drivers (diff)
downloadyuzu-45d547af11a18434ea17e4427db7286856a19537.tar
yuzu-45d547af11a18434ea17e4427db7286856a19537.tar.gz
yuzu-45d547af11a18434ea17e4427db7286856a19537.tar.bz2
yuzu-45d547af11a18434ea17e4427db7286856a19537.tar.lz
yuzu-45d547af11a18434ea17e4427db7286856a19537.tar.xz
yuzu-45d547af11a18434ea17e4427db7286856a19537.tar.zst
yuzu-45d547af11a18434ea17e4427db7286856a19537.zip
Diffstat (limited to 'src/shader_recompiler/frontend/ir/ir_emitter.h')
-rw-r--r--src/shader_recompiler/frontend/ir/ir_emitter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.h b/src/shader_recompiler/frontend/ir/ir_emitter.h
index 5bebf66e3..e034d672f 100644
--- a/src/shader_recompiler/frontend/ir/ir_emitter.h
+++ b/src/shader_recompiler/frontend/ir/ir_emitter.h
@@ -97,6 +97,8 @@ public:
[[nodiscard]] U32 LocalInvocationIdY();
[[nodiscard]] U32 LocalInvocationIdZ();
+ [[nodiscard]] U32 LaneId();
+
[[nodiscard]] U32 LoadGlobalU8(const U64& address);
[[nodiscard]] U32 LoadGlobalS8(const U64& address);
[[nodiscard]] U32 LoadGlobalU16(const U64& address);