diff options
| author | 2023-06-16 13:26:44 +0200 | |
|---|---|---|
| committer | 2023-06-16 13:45:14 +0200 | |
| commit | 2dc0ff79ece34286c7078922668fd9f0a19b47b7 (patch) | |
| tree | a474956c3fdc432f7259c70337d2c304baf80740 /src/video_core/textures/texture.cpp | |
| parent | video_core: Fallback to default anisotropy instead to 1x anisotropy (diff) | |
| download | yuzu-2dc0ff79ece34286c7078922668fd9f0a19b47b7.tar.gz yuzu-2dc0ff79ece34286c7078922668fd9f0a19b47b7.tar.xz yuzu-2dc0ff79ece34286c7078922668fd9f0a19b47b7.zip | |
video_core: Use sampler IDs instead pointers in the pipeline config
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
Diffstat (limited to 'src/video_core/textures/texture.cpp')
0 files changed, 0 insertions, 0 deletions