diff options
| author | Jonas <104419015+jojo-chaechae@users.noreply.github.com> | 2026-11-03 04:14:50 +0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-03 04:14:50 +0600 |
| commit | 05259375e0fb436c78882f8d9b95f9e2ce69af13 (patch) | |
| tree | a06f72ac820f3bb54482b418fa7c616ba6d35694 /src | |
| parent | 1c9afc7248243576dc1e57824eb19ffcc00aa93d (diff) | |
| parent | 15dd9807110a1b120493962427413a82f4147d1c (diff) | |
Merge pull request #113 from ymatrix1/fix/storage-buffers-32
buffer_cache: allow 32 storage buffers per stage
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/buffer_cache/buffer_cache_base.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/buffer_cache/buffer_cache_base.h b/src/video_core/buffer_cache/buffer_cache_base.h index 1f0c6cf10f..d1199ef517 100644 --- a/src/video_core/buffer_cache/buffer_cache_base.h +++ b/src/video_core/buffer_cache/buffer_cache_base.h @@ -59,7 +59,8 @@ constexpr u32 NUM_VERTEX_BUFFERS = 32; constexpr u32 NUM_TRANSFORM_FEEDBACK_BUFFERS = 4; constexpr u32 NUM_GRAPHICS_UNIFORM_BUFFERS = 18; constexpr u32 NUM_COMPUTE_UNIFORM_BUFFERS = 8; -constexpr u32 NUM_STORAGE_BUFFERS = 16; +// Native compute shaders bind up to 18 global memory ranges; the enable masks are 32 bits wide. +constexpr u32 NUM_STORAGE_BUFFERS = 32; constexpr u32 NUM_TEXTURE_BUFFERS = 32; constexpr u32 NUM_STAGES = 5; |
