aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/input_engine.cpp
diff options
context:
space:
mode:
authorYuri Olive <yuriso1994@gmail.com>2026-10-31 13:54:17 -0300
committerYuri Olive <yuriso1994@gmail.com>2026-11-02 12:03:06 -0300
commit15dd9807110a1b120493962427413a82f4147d1c (patch)
treeea40fe0e27d468ab9e0a45c04f6f2976a89c9838 /src/input_common/input_engine.cpp
parenta407703f6d29a5ab73328b4ededb12cf29b2758d (diff)
buffer_cache: allow 32 storage buffers per stage
Native Switch 2 compute shaders (such as Donkey Kong Bananza) bind up to 18 global memory ranges, causing out-of-bounds binding errors: HW.GPU <Error> buffer_cache.h:BindComputeStorageBuffer: Storage buffer index 16 exceeds maximum storage buffer count HW.GPU <Error> buffer_cache.h:BindComputeStorageBuffer: Storage buffer index 17 exceeds maximum storage buffer count followed by GPU driver access violations (0xc0000005). The enabled and written storage buffer bitmasks (enabled_compute_storage_buffers and written_compute_storage_buffers) are already u32, so widening NUM_STORAGE_BUFFERS from 16 to 32 fits naturally within the existing 32-bit masks.
Diffstat (limited to 'src/input_common/input_engine.cpp')
0 files changed, 0 insertions, 0 deletions