diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-06-09 23:33:48 -0400 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-22 21:51:35 -0400 |
commit | 15bdd27cac4a0b1e6cd168272dc337cd685ef144 (patch) | |
tree | ae1d5c1a93bfc500e3603cb4fad8318676a13f1d /src/video_core/shader_environment.cpp | |
parent | 7eaa74ad235b669608debaf3583af94bd675b6c6 (diff) |
shader_environment: Add shader_local_memory_crs_size to local memory size
Fixes DOOM 2016 missing local memory
Diffstat (limited to 'src/video_core/shader_environment.cpp')
-rw-r--r-- | src/video_core/shader_environment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader_environment.cpp b/src/video_core/shader_environment.cpp index c93174519d..a7a57a36fb 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 { |