summaryrefslogtreecommitdiff
path: root/src/video_core/shader_environment.h
diff options
context:
space:
mode:
authorGravatar Kelebek12023-05-02 23:52:21 +0100
committerGravatar Kelebek12023-05-02 23:52:21 +0100
commitf902cc2a2b5875eb20a403390ed849af68e094f0 (patch)
tree69f21919b2bf649e23eee3ce154f214f8f3945c8 /src/video_core/shader_environment.h
parentMerge pull request #10133 from lat9nq/clang-shadow-and-fallthrough (diff)
downloadyuzu-f902cc2a2b5875eb20a403390ed849af68e094f0.tar.gz
yuzu-f902cc2a2b5875eb20a403390ed849af68e094f0.tar.xz
yuzu-f902cc2a2b5875eb20a403390ed849af68e094f0.zip
Fix code resize to use word size rather than byte size
Diffstat (limited to 'src/video_core/shader_environment.h')
-rw-r--r--src/video_core/shader_environment.h6
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:
48 48
49 void SetCachedSize(size_t size_bytes); 49 void SetCachedSize(size_t size_bytes);
50 50
51 [[nodiscard]] size_t CachedSize() const noexcept; 51 [[nodiscard]] size_t CachedSizeWords() const noexcept;
52 52
53 [[nodiscard]] size_t ReadSize() const noexcept; 53 [[nodiscard]] size_t CachedSizeBytes() const noexcept;
54
55 [[nodiscard]] size_t ReadSizeBytes() const noexcept;
54 56
55 [[nodiscard]] bool CanBeSerialized() const noexcept; 57 [[nodiscard]] bool CanBeSerialized() const noexcept;
56 58