CommandBufferBarrierCommand.cs 439 B

123456789101112
  1. namespace Ryujinx.Graphics.GAL.Multithreading.Commands
  2. {
  3. struct CommandBufferBarrierCommand : IGALCommand, IGALCommand<CommandBufferBarrierCommand>
  4. {
  5. public CommandType CommandType => CommandType.CommandBufferBarrier;
  6. public static void Run(ref CommandBufferBarrierCommand command, ThreadedRenderer threaded, IRenderer renderer)
  7. {
  8. renderer.Pipeline.CommandBufferBarrier();
  9. }
  10. }
  11. }