aboutsummaryrefslogblamecommitdiff
path: root/src/Ryujinx.Graphics.GAL/Multithreading/Commands/BarrierCommand.cs
blob: fd80a127bb3c91e67e7e04b56f74e1faf6b581de (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                                      
 
                                                                    
     
                                                                       





                                                                                                         
namespace Ryujinx.Graphics.GAL.Multithreading.Commands
{
    struct BarrierCommand : IGALCommand, IGALCommand<BarrierCommand>
    {
        public readonly CommandType CommandType => CommandType.Barrier;

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