mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-07-18 16:40:16 +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