diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-03-29 00:53:34 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:25 +0200 |
commit | e860870dd2244cd87645190c89244f1d2c4c775b (patch) | |
tree | 90ff582c6837e7fd873287b5948e9da4ac10d865 /src/shader_recompiler/environment.h | |
parent | shader: Implement ISCADD CC (diff) | |
download | yuzu-e860870dd2244cd87645190c89244f1d2c4c775b.tar yuzu-e860870dd2244cd87645190c89244f1d2c4c775b.tar.gz yuzu-e860870dd2244cd87645190c89244f1d2c4c775b.tar.bz2 yuzu-e860870dd2244cd87645190c89244f1d2c4c775b.tar.lz yuzu-e860870dd2244cd87645190c89244f1d2c4c775b.tar.xz yuzu-e860870dd2244cd87645190c89244f1d2c4c775b.tar.zst yuzu-e860870dd2244cd87645190c89244f1d2c4c775b.zip |
Diffstat (limited to 'src/shader_recompiler/environment.h')
-rw-r--r-- | src/shader_recompiler/environment.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/environment.h b/src/shader_recompiler/environment.h index 0c62c1c54..9415d02f6 100644 --- a/src/shader_recompiler/environment.h +++ b/src/shader_recompiler/environment.h @@ -19,6 +19,10 @@ public: [[nodiscard]] virtual u32 TextureBoundBuffer() const = 0; + [[nodiscard]] virtual u32 LocalMemorySize() const = 0; + + [[nodiscard]] virtual u32 SharedMemorySize() const = 0; + [[nodiscard]] virtual std::array<u32, 3> WorkgroupSize() const = 0; [[nodiscard]] const ProgramHeader& SPH() const noexcept { |