mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-23 00:11:16 +01:00
a2285669b3
Using `std::vector` for shader bytecode led to a lot of reallocation due to constant resizing, switching over the static vector allows for a single static allocation of the maximum possible guest shader size (1 MiB) to be done for every stage resulting in a 6 MiB preallocation which is unnoticeable given the total memory overhead of running a Switch application.