Dirty Arg Buffers on Program Change

This commit is contained in:
Isaac Marovitz
2024-07-02 12:00:37 +01:00
committed by Evan Husted
parent d2a4a9e9a7
commit 09546205b5
2 changed files with 6 additions and 4 deletions

View File

@@ -346,13 +346,13 @@ namespace Ryujinx.Graphics.Metal
{
_currentState.RenderProgram = prg;
_currentState.Dirty |= DirtyFlags.RenderPipeline;
_currentState.Dirty |= DirtyFlags.RenderPipeline | DirtyFlags.ArgBuffers;
}
else if (prg.ComputeFunction != IntPtr.Zero)
{
_currentState.ComputeProgram = prg;
_currentState.Dirty |= DirtyFlags.ComputePipeline;
_currentState.Dirty |= DirtyFlags.ComputePipeline | DirtyFlags.ArgBuffers;
}
}