diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2020-03-29 00:02:58 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-29 14:02:58 +1100 |
| commit | ab4867505ec0d3f5a9ec4f042ccd6f7890e3632e (patch) | |
| tree | b3956fc821e0dcb8c8c3edc9dcae5eadf83ce29d /Ryujinx.Graphics.GAL | |
| parent | 06bf25521ff3ab2ad82eb49cde2bb6f90324caa2 (diff) | |
Implement GPU scissors (#1058)
* Implement GPU scissors
* Remove unused using
* Add missing changes for Clear
Diffstat (limited to 'Ryujinx.Graphics.GAL')
| -rw-r--r-- | Ryujinx.Graphics.GAL/IPipeline.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.GAL/IPipeline.cs b/Ryujinx.Graphics.GAL/IPipeline.cs index 1a5f1cf0..fc5cf483 100644 --- a/Ryujinx.Graphics.GAL/IPipeline.cs +++ b/Ryujinx.Graphics.GAL/IPipeline.cs @@ -29,9 +29,7 @@ namespace Ryujinx.Graphics.GAL void SetBlendColor(ColorF color); void SetDepthBias(PolygonModeMask enables, float factor, float units, float clamp); - void SetDepthMode(DepthMode mode); - void SetDepthTest(DepthTestDescriptor depthTest); void SetFaceCulling(bool enable, Face face); @@ -56,6 +54,9 @@ namespace Ryujinx.Graphics.GAL void SetSampler(int index, ShaderStage stage, ISampler sampler); + void SetScissorEnable(int index, bool enable); + void SetScissor(int index, int x, int y, int width, int height); + void SetStencilTest(StencilTestDescriptor stencilTest); void SetStorageBuffer(int index, ShaderStage stage, BufferRange buffer); |
