diff options
| author | Zephyron <zephyron@citron-emu.org> | 2025-04-12 15:14:14 +1000 |
|---|---|---|
| committer | Mike Lothian <mike@fireburn.co.uk> | 2025-05-12 12:46:19 +0100 |
| commit | 459b77bb6f3552b2cfce9d7f9bd542211d04a236 (patch) | |
| tree | c9fbfc2e75d80d150181a9dbf9f0ecc54bd8a19e /src/video_core/buffer_cache/buffer_cache.cpp | |
| parent | 2d4f1b4d2ffe3b403daa372bead8ed87b403a441 (diff) | |
nvn(fix): Optimize shader performance by enhancing NVN bias settings
Improve GPU storage buffer detection and memory access patterns:
- Expand NVN bias address range (0x100-0x800 vs 0x110-0x610)
- Increase alignment from 16 to 32 bytes for optimal memory access
- Raise default alignment from 8 to 16 bytes for non-biased addresses
- Refactor bias handling code for better readability
- Add detailed performance-related comments
These changes help identify more storage buffers within shaders and
ensure memory accesses are better aligned, which improves overall
shader compilation and execution performance.
Signed-off-by: Zephyron <zephyron@citron-emu.org>
Diffstat (limited to 'src/video_core/buffer_cache/buffer_cache.cpp')
0 files changed, 0 insertions, 0 deletions
