Commit Graph

5 Commits

Author SHA1 Message Date
Erik Abair 196726b898
nv2a/gl: Allocate only needed size for inline arrays
Some HW/driver combinations appear to slow down dramatically when using very
large GL buffers. Since the GL buffer supporting inline arrays is allocated
after the guest `END`, the total size needed is known and the buffer may be
sized appropriately.

It would be good to test performance in games that use relatively large inline
arrays (e.g., "King of Fighters 2003").

Fixes #2301
2025-07-20 16:59:31 -07:00
Matt Borgerson 7908bcbbe6 nv2a: Const-ify LRU callback key parameters 2025-07-02 21:21:08 -07:00
Matt Borgerson c1bbe39f22 nv2a/gl: Rename some functions for clarity 2024-12-31 01:37:05 -07:00
Matt Borgerson 84dd112186 nv2a/gl: Improve renderer teardown 2024-12-31 01:37:05 -07:00
Matt Borgerson a5385803db nv2a: Add Vulkan renderer 2024-12-31 01:37:05 -07:00