From c532118d94dea0bbafff7b92000c1a25cd4e021d Mon Sep 17 00:00:00 2001 From: gdkchan Date: Wed, 5 Apr 2023 00:25:19 -0300 Subject: Use index fragment shader output when dual source blend is enabled (#4404) * Use index fragment shader output when dual source blend is enabled * Shader cache version bump * Actually set DualSourceBlendEnabled to true * Fix XML doc --------- Co-authored-by: Ac_K --- Ryujinx.Graphics.Shader/IGpuAccessor.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Ryujinx.Graphics.Shader/IGpuAccessor.cs') diff --git a/Ryujinx.Graphics.Shader/IGpuAccessor.cs b/Ryujinx.Graphics.Shader/IGpuAccessor.cs index f364437c..ba5f2a92 100644 --- a/Ryujinx.Graphics.Shader/IGpuAccessor.cs +++ b/Ryujinx.Graphics.Shader/IGpuAccessor.cs @@ -205,6 +205,15 @@ namespace Ryujinx.Graphics.Shader return false; } + /// + /// Queries dual source blend state. + /// + /// True if blending is enabled with a dual source blend equation, false otherwise + bool QueryDualSourceBlendEnable() + { + return false; + } + /// /// Queries host about the presence of the FrontFacing built-in variable bug. /// -- cgit v1.2.3