From d512ce122cb1c9a7fe7cb40d3f85d642ee37f897 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Mon, 18 Oct 2021 18:38:04 -0300 Subject: Initial tessellation shader support (#2534) * Initial tessellation shader support * Nits * Re-arrange built-in table * This is not needed anymore * PR feedback --- Ryujinx.Graphics.GAL/IPipeline.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Ryujinx.Graphics.GAL/IPipeline.cs') diff --git a/Ryujinx.Graphics.GAL/IPipeline.cs b/Ryujinx.Graphics.GAL/IPipeline.cs index 7a7d83cc..bfc432b1 100644 --- a/Ryujinx.Graphics.GAL/IPipeline.cs +++ b/Ryujinx.Graphics.GAL/IPipeline.cs @@ -55,11 +55,15 @@ namespace Ryujinx.Graphics.GAL void SetImage(int binding, ITexture texture, Format imageFormat); + void SetLineParameters(float width, bool smooth); + void SetLogicOpState(bool enable, LogicalOp op); - void SetLineParameters(float width, bool smooth); + void SetPatchParameters(int vertices, ReadOnlySpan defaultOuterLevel, ReadOnlySpan defaultInnerLevel); void SetPointParameters(float size, bool isProgramPointSize, bool enablePointSprite, Origin origin); + void SetPolygonMode(PolygonMode frontMode, PolygonMode backMode); + void SetPrimitiveRestart(bool enable, int index); void SetPrimitiveTopology(PrimitiveTopology topology); -- cgit v1.2.3