mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-03-03 09:15:28 +03:00
The constant destruction and creation of `BufferView`s in cbuf-heavy games showed up as a large chunk of the profiler. Fix this by taking advantage of the fact that constant buffer `BufferView`s are never deleted and always kept around in the cache to just return a pointer to them in the cache.