Auto-backed samplers
This commit is contained in:
parent
2f0235fc37
commit
7245193f08
8 changed files with 66 additions and 31 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue