GAL Changes

This commit is contained in:
Isaac Marovitz 2024-09-18 23:52:24 +02:00
parent 77ca0349f8
commit 1023a14e1f
No known key found for this signature in database
GPG Key ID: 97250B2B09A132E1
2 changed files with 1 additions and 11 deletions

View File

@ -27,16 +27,6 @@ namespace Ryujinx.Graphics.Metal
_pipeline = pipeline;
}
public void SetFormats(int index, Format[] imageFormats)
{
for (int i = 0; i < imageFormats.Length; i++)
{
_textureRefs[index + i].ImageFormat = imageFormats[i];
}
SetDirty();
}
public void SetImages(int index, ITexture[] images)
{
for (int i = 0; i < images.Length; i++)

View File

@ -661,7 +661,7 @@ namespace Ryujinx.Graphics.Metal
_encoderStateManager.UpdateIndexBuffer(buffer, type);
}
public void SetImage(ShaderStage stage, int binding, ITexture image, Format imageFormat)
public void SetImage(ShaderStage stage, int binding, ITexture image)
{
if (image is TextureBase img)
{