Refactor binding logic + Bind image arrays

This commit is contained in:
Isaac Marovitz 2024-09-06 23:42:59 +02:00 committed by Isaac Marovitz
parent 04c0090653
commit 2f0235fc37
2 changed files with 212 additions and 214 deletions

View file

@ -64,6 +64,16 @@ namespace Ryujinx.Graphics.Metal
SetDirty();
}
public TextureRef[] GetTextureRefs()
{
return _textureRefs;
}
public TextureBuffer[] GetBufferTextureRefs()
{
return _bufferTextureRefs;
}
private void SetDirty()
{
_pipeline.DirtyImages();