1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-24 08:36:06 +00:00

warn about barriers

This commit is contained in:
Samuliak 2024-05-24 18:41:36 +02:00 committed by Isaac Marovitz
parent 1a0b928c35
commit 41fb433495

View file

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