diff --git a/src/Ryujinx.Graphics.Metal/Pipeline.cs b/src/Ryujinx.Graphics.Metal/Pipeline.cs index 66984c2bb9..1424c74bca 100644 --- a/src/Ryujinx.Graphics.Metal/Pipeline.cs +++ b/src/Ryujinx.Graphics.Metal/Pipeline.cs @@ -206,6 +206,9 @@ namespace Ryujinx.Graphics.Metal // TODO: Should there be a barrier on render targets? var scope = MTLBarrierScope.Buffers | MTLBarrierScope.Textures; computeCommandEncoder.MemoryBarrier(scope); + } else + { + Logger.Warning?.Print(LogClass.Gpu, "Barrier called outside of a render or compute pass"); } }