summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-06-10 05:33:48 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:35 +0200
commit15bdd27cac4a0b1e6cd168272dc337cd685ef144 (patch)
treeae1d5c1a93bfc500e3603cb4fad8318676a13f1d /src/video_core
parentgl_texture_cache: Create image storage views (diff)
downloadyuzu-15bdd27cac4a0b1e6cd168272dc337cd685ef144.tar
yuzu-15bdd27cac4a0b1e6cd168272dc337cd685ef144.tar.gz
yuzu-15bdd27cac4a0b1e6cd168272dc337cd685ef144.tar.bz2
yuzu-15bdd27cac4a0b1e6cd168272dc337cd685ef144.tar.lz
yuzu-15bdd27cac4a0b1e6cd168272dc337cd685ef144.tar.xz
yuzu-15bdd27cac4a0b1e6cd168272dc337cd685ef144.tar.zst
yuzu-15bdd27cac4a0b1e6cd168272dc337cd685ef144.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/shader_environment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader_environment.cpp b/src/video_core/shader_environment.cpp
index c93174519..a7a57a36f 100644
--- a/src/video_core/shader_environment.cpp
+++ b/src/video_core/shader_environment.cpp
@@ -69,7 +69,7 @@ u32 GenericEnvironment::TextureBoundBuffer() const {
}
u32 GenericEnvironment::LocalMemorySize() const {
- return local_memory_size;
+ return local_memory_size + sph.common3.shader_local_memory_crs_size;
}
u32 GenericEnvironment::SharedMemorySize() const {