aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/State/ScissorState.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-03-29 00:02:58 -0300
committerGitHub <noreply@github.com>2020-03-29 14:02:58 +1100
commitab4867505ec0d3f5a9ec4f042ccd6f7890e3632e (patch)
treeb3956fc821e0dcb8c8c3edc9dcae5eadf83ce29d /Ryujinx.Graphics.Gpu/State/ScissorState.cs
parent06bf25521ff3ab2ad82eb49cde2bb6f90324caa2 (diff)
Implement GPU scissors (#1058)
* Implement GPU scissors * Remove unused using * Add missing changes for Clear
Diffstat (limited to 'Ryujinx.Graphics.Gpu/State/ScissorState.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/State/ScissorState.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/State/ScissorState.cs b/Ryujinx.Graphics.Gpu/State/ScissorState.cs
new file mode 100644
index 00000000..06766640
--- /dev/null
+++ b/Ryujinx.Graphics.Gpu/State/ScissorState.cs
@@ -0,0 +1,12 @@
+namespace Ryujinx.Graphics.Gpu.State
+{
+ struct ScissorState
+ {
+ public Boolean32 Enable;
+ public ushort X1;
+ public ushort X2;
+ public ushort Y1;
+ public ushort Y2;
+ public uint Padding;
+ }
+}