diff options
Diffstat (limited to 'Ryujinx.Graphics.GAL/Multithreading/Commands/SetUniformBuffersCommand.cs')
-rw-r--r-- | Ryujinx.Graphics.GAL/Multithreading/Commands/SetUniformBuffersCommand.cs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Ryujinx.Graphics.GAL/Multithreading/Commands/SetUniformBuffersCommand.cs b/Ryujinx.Graphics.GAL/Multithreading/Commands/SetUniformBuffersCommand.cs deleted file mode 100644 index 9e93db9e..00000000 --- a/Ryujinx.Graphics.GAL/Multithreading/Commands/SetUniformBuffersCommand.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Ryujinx.Graphics.GAL.Multithreading.Model; -using System; - -namespace Ryujinx.Graphics.GAL.Multithreading.Commands -{ - struct SetUniformBuffersCommand : IGALCommand, IGALCommand<SetUniformBuffersCommand> - { - public CommandType CommandType => CommandType.SetUniformBuffers; - private SpanRef<BufferAssignment> _buffers; - - public void Set(SpanRef<BufferAssignment> buffers) - { - _buffers = buffers; - } - - public static void Run(ref SetUniformBuffersCommand command, ThreadedRenderer threaded, IRenderer renderer) - { - Span<BufferAssignment> buffers = command._buffers.Get(threaded); - renderer.Pipeline.SetUniformBuffers(threaded.Buffers.MapBufferRanges(buffers)); - command._buffers.Dispose(threaded); - } - } -} |