mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-29 03:45:34 +01:00
a24aec03a6
The original intention was to cache on the user side, but especially with shader constant buffers that's difficult and costly. Instead we can cache on the buffer side, with a page-table like structure to hold variable sized allocations indexed by the aligned view base address. This avoids most redundant copies from repeated use of the same buffer without updates inbetween.