Ryujinx/src/Ryujinx.Graphics.GAL/Multithreading/Commands/BarrierCommand.cs
2023-04-27 23:51:14 +02:00

12 lines
374 B
C#

namespace Ryujinx.Graphics.GAL.Multithreading.Commands
{
struct BarrierCommand : IGALCommand, IGALCommand<BarrierCommand>
{
public CommandType CommandType => CommandType.Barrier;
public static void Run(ref BarrierCommand command, ThreadedRenderer threaded, IRenderer renderer)
{
renderer.Pipeline.Barrier();
}
}
}