mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-05-13 17:30:07 +00:00

The previous approach of storing pointers returned by `GetGraphicsSampler`/`GetComputeSampler` caused UB, as these functions can cause reallocation of the sampler slot vector and therefore invalidate the pointers