Auto-backed samplers

This commit is contained in:
Isaac Marovitz 2024-09-07 12:24:40 +02:00 committed by Isaac Marovitz
parent 2f0235fc37
commit 7245193f08
8 changed files with 66 additions and 31 deletions

View file

@ -33,9 +33,9 @@ namespace Ryujinx.Graphics.Metal
{
ISampler sampler = samplers[i];
if (sampler is Sampler samp)
if (sampler is SamplerHolder samp)
{
_textureRefs[index + i].Sampler = samp;
_textureRefs[index + i].Sampler = samp.GetSampler();
}
else
{