diff options
| author | 2018-12-18 20:39:49 -0300 | |
|---|---|---|
| committer | 2019-01-15 17:54:49 -0300 | |
| commit | a0c8c16d07ba365f573cf4b856e471bd0366be0e (patch) | |
| tree | 0f60da67a1a0c76c5f99246347935a56ffe1477b /src | |
| parent | Merge pull request #2020 from otaviopace/remove-spaces (diff) | |
| download | yuzu-a0c8c16d07ba365f573cf4b856e471bd0366be0e.tar.gz yuzu-a0c8c16d07ba365f573cf4b856e471bd0366be0e.tar.xz yuzu-a0c8c16d07ba365f573cf4b856e471bd0366be0e.zip | |
shader_header: Make local memory size getter constant
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/engines/shader_header.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/shader_header.h b/src/video_core/engines/shader_header.h index 99c34649f..cf2b76ff6 100644 --- a/src/video_core/engines/shader_header.h +++ b/src/video_core/engines/shader_header.h | |||
| @@ -106,7 +106,7 @@ struct Header { | |||
| 106 | } ps; | 106 | } ps; |
| 107 | }; | 107 | }; |
| 108 | 108 | ||
| 109 | u64 GetLocalMemorySize() { | 109 | u64 GetLocalMemorySize() const { |
| 110 | return (common1.shader_local_memory_low_size | | 110 | return (common1.shader_local_memory_low_size | |
| 111 | (common2.shader_local_memory_high_size << 24)); | 111 | (common2.shader_local_memory_high_size << 24)); |
| 112 | } | 112 | } |