aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/IPipeline.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.GAL/IPipeline.cs')
-rw-r--r--Ryujinx.Graphics.GAL/IPipeline.cs9
1 files changed, 4 insertions, 5 deletions
diff --git a/Ryujinx.Graphics.GAL/IPipeline.cs b/Ryujinx.Graphics.GAL/IPipeline.cs
index da04362d..9d0da269 100644
--- a/Ryujinx.Graphics.GAL/IPipeline.cs
+++ b/Ryujinx.Graphics.GAL/IPipeline.cs
@@ -1,3 +1,4 @@
+using Ryujinx.Graphics.Shader;
using System;
namespace Ryujinx.Graphics.GAL
@@ -79,15 +80,13 @@ namespace Ryujinx.Graphics.GAL
void SetRenderTargetColorMasks(ReadOnlySpan<uint> componentMask);
void SetRenderTargets(ITexture[] colors, ITexture depthStencil);
- void SetSampler(int binding, ISampler sampler);
-
- void SetScissor(int index, bool enable, int x, int y, int width, int height);
+ void SetScissors(ReadOnlySpan<Rectangle<int>> regions);
void SetStencilTest(StencilTestDescriptor stencilTest);
void SetStorageBuffers(int first, ReadOnlySpan<BufferRange> buffers);
- void SetTexture(int binding, ITexture texture);
+ void SetTextureAndSampler(ShaderStage stage, int binding, ITexture texture, ISampler sampler);
void SetTransformFeedbackBuffers(ReadOnlySpan<BufferRange> buffers);
void SetUniformBuffers(int first, ReadOnlySpan<BufferRange> buffers);
@@ -97,7 +96,7 @@ namespace Ryujinx.Graphics.GAL
void SetVertexAttribs(ReadOnlySpan<VertexAttribDescriptor> vertexAttribs);
void SetVertexBuffers(ReadOnlySpan<VertexBufferDescriptor> vertexBuffers);
- void SetViewports(int first, ReadOnlySpan<Viewport> viewports, bool disableTransform);
+ void SetViewports(ReadOnlySpan<Viewport> viewports, bool disableTransform);
void TextureBarrier();
void TextureBarrierTiled();