aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.GAL/Multithreading/Commands/BarrierCommand.cs
blob: 4f8e1b08882fadc0da73854e4676da9c37108ba7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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();
        }
    }
}