aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/Multithreading/Commands/SetRenderTargetColorMasksCommand.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.GAL/Multithreading/Commands/SetRenderTargetColorMasksCommand.cs')
-rw-r--r--Ryujinx.Graphics.GAL/Multithreading/Commands/SetRenderTargetColorMasksCommand.cs23
1 files changed, 0 insertions, 23 deletions
diff --git a/Ryujinx.Graphics.GAL/Multithreading/Commands/SetRenderTargetColorMasksCommand.cs b/Ryujinx.Graphics.GAL/Multithreading/Commands/SetRenderTargetColorMasksCommand.cs
deleted file mode 100644
index c247ff3a..00000000
--- a/Ryujinx.Graphics.GAL/Multithreading/Commands/SetRenderTargetColorMasksCommand.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using Ryujinx.Graphics.GAL.Multithreading.Model;
-using System;
-
-namespace Ryujinx.Graphics.GAL.Multithreading.Commands
-{
- struct SetRenderTargetColorMasksCommand : IGALCommand, IGALCommand<SetRenderTargetColorMasksCommand>
- {
- public CommandType CommandType => CommandType.SetRenderTargetColorMasks;
- private SpanRef<uint> _componentMask;
-
- public void Set(SpanRef<uint> componentMask)
- {
- _componentMask = componentMask;
- }
-
- public static void Run(ref SetRenderTargetColorMasksCommand command, ThreadedRenderer threaded, IRenderer renderer)
- {
- ReadOnlySpan<uint> componentMask = command._componentMask.Get(threaded);
- renderer.Pipeline.SetRenderTargetColorMasks(componentMask);
- command._componentMask.Dispose(threaded);
- }
- }
-}