summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/ir/ir_emitter.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-11-04 06:21:58 +0100
committerGitHub <noreply@github.com>2022-11-04 06:21:58 +0100
commit38e4382f532d606afbd3969990a9ca3bac70e557 (patch)
treeb9af6ed0a26285f4b0dcd5c21028601004267607 /src/shader_recompiler/frontend/ir/ir_emitter.h
parentMerge pull request #9135 from liamwhite/service-thread-event (diff)
parentMerge branch 'master' into mipmap (diff)
downloadyuzu-38e4382f532d606afbd3969990a9ca3bac70e557.tar
yuzu-38e4382f532d606afbd3969990a9ca3bac70e557.tar.gz
yuzu-38e4382f532d606afbd3969990a9ca3bac70e557.tar.bz2
yuzu-38e4382f532d606afbd3969990a9ca3bac70e557.tar.lz
yuzu-38e4382f532d606afbd3969990a9ca3bac70e557.tar.xz
yuzu-38e4382f532d606afbd3969990a9ca3bac70e557.tar.zst
yuzu-38e4382f532d606afbd3969990a9ca3bac70e557.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 25839a371..f163c18d9 100644
--- a/src/shader_recompiler/frontend/ir/ir_emitter.h
+++ b/src/shader_recompiler/frontend/ir/ir_emitter.h
@@ -103,6 +103,9 @@ public:
[[nodiscard]] F32 ResolutionDownFactor();
+ [[nodiscard]] F32 RenderAreaWidth();
+ [[nodiscard]] F32 RenderAreaHeight();
+
[[nodiscard]] U32 LaneId();
[[nodiscard]] U32 LoadGlobalU8(const U64& address);