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





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

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