aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/Multithreading/Commands/ClearBufferCommand.cs
diff options
context:
space:
mode:
authorTSR Berry <20988865+TSRBerry@users.noreply.github.com>2023-04-08 01:22:00 +0200
committerMary <thog@protonmail.com>2023-04-27 23:51:14 +0200
commitcee712105850ac3385cd0091a923438167433f9f (patch)
tree4a5274b21d8b7f938c0d0ce18736d3f2993b11b1 /Ryujinx.Graphics.GAL/Multithreading/Commands/ClearBufferCommand.cs
parentcd124bda587ef09668a971fa1cac1c3f0cfc9f21 (diff)
Move solution and projects to src
Diffstat (limited to 'Ryujinx.Graphics.GAL/Multithreading/Commands/ClearBufferCommand.cs')
-rw-r--r--Ryujinx.Graphics.GAL/Multithreading/Commands/ClearBufferCommand.cs24
1 files changed, 0 insertions, 24 deletions
diff --git a/Ryujinx.Graphics.GAL/Multithreading/Commands/ClearBufferCommand.cs b/Ryujinx.Graphics.GAL/Multithreading/Commands/ClearBufferCommand.cs
deleted file mode 100644
index 1d70460a..00000000
--- a/Ryujinx.Graphics.GAL/Multithreading/Commands/ClearBufferCommand.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-namespace Ryujinx.Graphics.GAL.Multithreading.Commands
-{
- struct ClearBufferCommand : IGALCommand, IGALCommand<ClearBufferCommand>
- {
- public CommandType CommandType => CommandType.ClearBuffer;
- private BufferHandle _destination;
- private int _offset;
- private int _size;
- private uint _value;
-
- public void Set(BufferHandle destination, int offset, int size, uint value)
- {
- _destination = destination;
- _offset = offset;
- _size = size;
- _value = value;
- }
-
- public static void Run(ref ClearBufferCommand command, ThreadedRenderer threaded, IRenderer renderer)
- {
- renderer.Pipeline.ClearBuffer(threaded.Buffers.MapBuffer(command._destination), command._offset, command._size, command._value);
- }
- }
-}