aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.GAL/Multithreading/Commands/CommandBufferBarrierCommand.cs
blob: 0403b33fea097bbc068fca99037ef6b59944b21a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
namespace Ryujinx.Graphics.GAL.Multithreading.Commands
{
    struct CommandBufferBarrierCommand : IGALCommand, IGALCommand<CommandBufferBarrierCommand>
    {
        public readonly CommandType CommandType => CommandType.CommandBufferBarrier;

        public static void Run(ref CommandBufferBarrierCommand command, ThreadedRenderer threaded, IRenderer renderer)
        {
            renderer.Pipeline.CommandBufferBarrier();
        }
    }
}