aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.GAL/Multithreading/Commands/CommandBufferBarrierCommand.cs
blob: ad3ab0f848a97efdb3d65c37165b60cc2913f6ad (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 CommandType CommandType => CommandType.CommandBufferBarrier;

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