mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-23 04:41:12 +01:00
460e6c9c84
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.