diff options
author | Zephyron <zephyron@citron-emu.org> | 2025-01-26 16:13:05 +1000 |
---|---|---|
committer | Zephyron <zephyron@citron-emu.org> | 2025-01-26 16:13:05 +1000 |
commit | be191f740a477290f6dae570fa615aaf0d24bdd4 (patch) | |
tree | bccca0bf4142fdd267116b9beeca37abb590d615 /src/core | |
parent | a5d62fa4ec854174ddbb279e9f826ecc3bc470f0 (diff) |
buffer_cache: Simplify storage buffer binding logic
Reverts overly restrictive storage buffer validation and size calculation
that was causing rendering issues in The Legend of Zelda: Tears of the
Kingdom, particularly in underground/depth areas. The simplified approach:
- Uses GetMemoryLayoutSize() instead of manual page probing
- Removes unnecessary 4GB memory bounds validation
- Streamlines address translation and alignment handling
This fixes numerous reported cases of missing or corrupted rendering in
TOTK's underground areas where storage buffer operations are heavily used
for depth-related effects.
Diffstat (limited to 'src/core')
0 files changed, 0 insertions, 0 deletions