mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-03 12:57:27 +00:00
With robustBufferAccess2 and a robustStorageBufferAccessSizeAlignment of 1, the device returns zero for a storage buffer load past the descriptor range, so the shader's own OpArrayLength comparison against the same range is redundant. The guest V# bound check stays. A guest buffer's and a draw snapshot's descriptor range of 4 bytes or more is rounded down to whole dwords so both zeros agree. APS5_NO_EXACT_ROBUST_LOADS keeps the comparison. The flag is part of the shader cache key.