diff options
author | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2023-05-03 00:52:21 +0200 |
---|---|---|
committer | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2023-05-03 00:52:21 +0200 |
commit | f902cc2a2b5875eb20a403390ed849af68e094f0 (patch) | |
tree | 69f21919b2bf649e23eee3ce154f214f8f3945c8 /src/video_core/shader_environment.h | |
parent | Merge pull request #10133 from lat9nq/clang-shadow-and-fallthrough (diff) | |
download | yuzu-f902cc2a2b5875eb20a403390ed849af68e094f0.tar yuzu-f902cc2a2b5875eb20a403390ed849af68e094f0.tar.gz yuzu-f902cc2a2b5875eb20a403390ed849af68e094f0.tar.bz2 yuzu-f902cc2a2b5875eb20a403390ed849af68e094f0.tar.lz yuzu-f902cc2a2b5875eb20a403390ed849af68e094f0.tar.xz yuzu-f902cc2a2b5875eb20a403390ed849af68e094f0.tar.zst yuzu-f902cc2a2b5875eb20a403390ed849af68e094f0.zip |
Diffstat (limited to 'src/video_core/shader_environment.h')
-rw-r--r-- | src/video_core/shader_environment.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/video_core/shader_environment.h b/src/video_core/shader_environment.h index d75987a52..a0f61cbda 100644 --- a/src/video_core/shader_environment.h +++ b/src/video_core/shader_environment.h @@ -48,9 +48,11 @@ public: void SetCachedSize(size_t size_bytes); - [[nodiscard]] size_t CachedSize() const noexcept; + [[nodiscard]] size_t CachedSizeWords() const noexcept; - [[nodiscard]] size_t ReadSize() const noexcept; + [[nodiscard]] size_t CachedSizeBytes() const noexcept; + + [[nodiscard]] size_t ReadSizeBytes() const noexcept; [[nodiscard]] bool CanBeSerialized() const noexcept; |