aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/Multithreading/Commands/SetSamplerCommand.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.GAL/Multithreading/Commands/SetSamplerCommand.cs')
-rw-r--r--Ryujinx.Graphics.GAL/Multithreading/Commands/SetSamplerCommand.cs23
1 files changed, 0 insertions, 23 deletions
diff --git a/Ryujinx.Graphics.GAL/Multithreading/Commands/SetSamplerCommand.cs b/Ryujinx.Graphics.GAL/Multithreading/Commands/SetSamplerCommand.cs
deleted file mode 100644
index f3be24db..00000000
--- a/Ryujinx.Graphics.GAL/Multithreading/Commands/SetSamplerCommand.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using Ryujinx.Graphics.GAL.Multithreading.Model;
-using Ryujinx.Graphics.GAL.Multithreading.Resources;
-
-namespace Ryujinx.Graphics.GAL.Multithreading.Commands
-{
- struct SetSamplerCommand : IGALCommand
- {
- public CommandType CommandType => CommandType.SetSampler;
- private int _index;
- private TableRef<ISampler> _sampler;
-
- public void Set(int index, TableRef<ISampler> sampler)
- {
- _index = index;
- _sampler = sampler;
- }
-
- public static void Run(ref SetSamplerCommand command, ThreadedRenderer threaded, IRenderer renderer)
- {
- renderer.Pipeline.SetSampler(command._index, command._sampler.GetAs<ThreadedSampler>(threaded)?.Base);
- }
- }
-}