mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-07 04:00: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