From c4731c055584c4f93988abdad662f7bb09977439 Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Wed, 26 Jun 2024 22:34:21 +0100 Subject: [PATCH] Fix blend descriptors not dirting render pipeline Thanks peri --- src/Ryujinx.Graphics.Metal/EncoderStateManager.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Ryujinx.Graphics.Metal/EncoderStateManager.cs b/src/Ryujinx.Graphics.Metal/EncoderStateManager.cs index 01d4247bc..8539895ca 100644 --- a/src/Ryujinx.Graphics.Metal/EncoderStateManager.cs +++ b/src/Ryujinx.Graphics.Metal/EncoderStateManager.cs @@ -497,6 +497,9 @@ namespace Ryujinx.Graphics.Metal { _currentState.BlendDescriptors[index] = blend; _currentState.BlendColor = blend.BlendConstant; + + // Mark dirty + _currentState.Dirty |= DirtyFlags.RenderPipeline; } // Inlineable