From ab4867505ec0d3f5a9ec4f042ccd6f7890e3632e Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sun, 29 Mar 2020 00:02:58 -0300 Subject: Implement GPU scissors (#1058) * Implement GPU scissors * Remove unused using * Add missing changes for Clear --- Ryujinx.Graphics.Gpu/State/ScissorState.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Ryujinx.Graphics.Gpu/State/ScissorState.cs (limited to 'Ryujinx.Graphics.Gpu/State/ScissorState.cs') 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; + } +} -- cgit v1.2.3