aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/Multithreading/Commands/DrawIndexedCommand.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.GAL/Multithreading/Commands/DrawIndexedCommand.cs')
-rw-r--r--Ryujinx.Graphics.GAL/Multithreading/Commands/DrawIndexedCommand.cs24
1 files changed, 0 insertions, 24 deletions
diff --git a/Ryujinx.Graphics.GAL/Multithreading/Commands/DrawIndexedCommand.cs b/Ryujinx.Graphics.GAL/Multithreading/Commands/DrawIndexedCommand.cs
deleted file mode 100644
index 1b28afcd..00000000
--- a/Ryujinx.Graphics.GAL/Multithreading/Commands/DrawIndexedCommand.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-namespace Ryujinx.Graphics.GAL.Multithreading.Commands
-{
- struct DrawCommand : IGALCommand, IGALCommand<DrawCommand>
- {
- public CommandType CommandType => CommandType.Draw;
- private int _vertexCount;
- private int _instanceCount;
- private int _firstVertex;
- private int _firstInstance;
-
- public void Set(int vertexCount, int instanceCount, int firstVertex, int firstInstance)
- {
- _vertexCount = vertexCount;
- _instanceCount = instanceCount;
- _firstVertex = firstVertex;
- _firstInstance = firstInstance;
- }
-
- public static void Run(ref DrawCommand command, ThreadedRenderer threaded, IRenderer renderer)
- {
- renderer.Pipeline.Draw(command._vertexCount, command._instanceCount, command._firstVertex, command._firstInstance);
- }
- }
-}