mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-01-19 19:58:42 +01:00
warn about barriers
This commit is contained in:
parent
1a0b928c35
commit
41fb433495
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user