From 7d86cb8d7fb3279c51a5d3fec9f51fd383c8ae31 Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Wed, 18 Sep 2024 23:52:24 +0200 Subject: [PATCH] GAL Changes --- src/Ryujinx.Graphics.Metal/ImageArray.cs | 10 ---------- src/Ryujinx.Graphics.Metal/Pipeline.cs | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/Ryujinx.Graphics.Metal/ImageArray.cs b/src/Ryujinx.Graphics.Metal/ImageArray.cs index 6bcfd95f4..9fa0df09d 100644 --- a/src/Ryujinx.Graphics.Metal/ImageArray.cs +++ b/src/Ryujinx.Graphics.Metal/ImageArray.cs @@ -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++) diff --git a/src/Ryujinx.Graphics.Metal/Pipeline.cs b/src/Ryujinx.Graphics.Metal/Pipeline.cs index 4e270def4..113974061 100644 --- a/src/Ryujinx.Graphics.Metal/Pipeline.cs +++ b/src/Ryujinx.Graphics.Metal/Pipeline.cs @@ -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) {