mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-28 07:30:12 +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