diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2022-08-14 14:00:30 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-14 14:00:30 -0300 |
| commit | e87e8b012c1fdfdbfbfe374506a28fe3155cfce2 (patch) | |
| tree | 0748204eeb18a63cd380712a71dafd49ad45ff70 | |
| parent | e8f1ca84277240c4d6215eb9cd85713aab73e2f7 (diff) | |
Fix texture bindings using wrong sampler pool in some cases (#3583)
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs b/Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs index 6f97f593..2e0b4a20 100644 --- a/Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs +++ b/Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs @@ -553,7 +553,7 @@ namespace Ryujinx.Graphics.Gpu.Image specStateMatches &= specState.MatchesTexture(stage, index, descriptor); - Sampler sampler = _samplerPool?.Get(samplerId); + Sampler sampler = samplerPool?.Get(samplerId); ITexture hostTexture = texture?.GetTargetTexture(bindingInfo.Target); ISampler hostSampler = sampler?.GetHostSampler(texture); |
