diff options
Diffstat (limited to 'Ryujinx.Graphics.GAL/Multithreading/Commands/SetAlphaTestCommand.cs')
-rw-r--r-- | Ryujinx.Graphics.GAL/Multithreading/Commands/SetAlphaTestCommand.cs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Ryujinx.Graphics.GAL/Multithreading/Commands/SetAlphaTestCommand.cs b/Ryujinx.Graphics.GAL/Multithreading/Commands/SetAlphaTestCommand.cs deleted file mode 100644 index a96879ff..00000000 --- a/Ryujinx.Graphics.GAL/Multithreading/Commands/SetAlphaTestCommand.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace Ryujinx.Graphics.GAL.Multithreading.Commands -{ - struct SetAlphaTestCommand : IGALCommand, IGALCommand<SetAlphaTestCommand> - { - public CommandType CommandType => CommandType.SetAlphaTest; - private bool _enable; - private float _reference; - private CompareOp _op; - - public void Set(bool enable, float reference, CompareOp op) - { - _enable = enable; - _reference = reference; - _op = op; - } - - public static void Run(ref SetAlphaTestCommand command, ThreadedRenderer threaded, IRenderer renderer) - { - renderer.Pipeline.SetAlphaTest(command._enable, command._reference, command._op); - } - } -} |