aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2022-08-14 14:00:30 -0300
committerGitHub <noreply@github.com>2022-08-14 14:00:30 -0300
commite87e8b012c1fdfdbfbfe374506a28fe3155cfce2 (patch)
tree0748204eeb18a63cd380712a71dafd49ad45ff70 /Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs
parente8f1ca84277240c4d6215eb9cd85713aab73e2f7 (diff)
Fix texture bindings using wrong sampler pool in some cases (#3583)1.1.214
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs2
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);