mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-29 01:50:47 -07:00
Fix texture bindings using wrong sampler pool in some cases (#3583)
This commit is contained in:
@ -553,7 +553,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||||||
|
|
||||||
specStateMatches &= specState.MatchesTexture(stage, index, descriptor);
|
specStateMatches &= specState.MatchesTexture(stage, index, descriptor);
|
||||||
|
|
||||||
Sampler sampler = _samplerPool?.Get(samplerId);
|
Sampler sampler = samplerPool?.Get(samplerId);
|
||||||
|
|
||||||
ITexture hostTexture = texture?.GetTargetTexture(bindingInfo.Target);
|
ITexture hostTexture = texture?.GetTargetTexture(bindingInfo.Target);
|
||||||
ISampler hostSampler = sampler?.GetHostSampler(texture);
|
ISampler hostSampler = sampler?.GetHostSampler(texture);
|
||||||
|
Reference in New Issue
Block a user