From 1adae7794a0d4af4289713dd94b3c3f40552718c Mon Sep 17 00:00:00 2001 From: sunshineinabox Date: Sun, 26 May 2024 18:46:10 -0700 Subject: [PATCH] Small changes --- src/Ryujinx.Graphics.Vulkan/PipelineState.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Ryujinx.Graphics.Vulkan/PipelineState.cs b/src/Ryujinx.Graphics.Vulkan/PipelineState.cs index 0e471f162a..c2bd51a9fb 100644 --- a/src/Ryujinx.Graphics.Vulkan/PipelineState.cs +++ b/src/Ryujinx.Graphics.Vulkan/PipelineState.cs @@ -564,13 +564,11 @@ namespace Ryujinx.Graphics.Vulkan colorBlendState.LogicOp = LogicOp; } - PipelineColorBlendAdvancedStateCreateInfoEXT colorBlendAdvancedState; - if (!AdvancedBlendSrcPreMultiplied || !AdvancedBlendDstPreMultiplied || AdvancedBlendOverlap != BlendOverlapEXT.UncorrelatedExt) { - colorBlendAdvancedState = new PipelineColorBlendAdvancedStateCreateInfoEXT + PipelineColorBlendAdvancedStateCreateInfoEXT colorBlendAdvancedState = new PipelineColorBlendAdvancedStateCreateInfoEXT { SType = StructureType.PipelineColorBlendAdvancedStateCreateInfoExt, SrcPremultiplied = AdvancedBlendSrcPreMultiplied, @@ -622,7 +620,7 @@ namespace Ryujinx.Graphics.Vulkan if (!isMoltenVk) { - //LineWidth is only supported on MacOS when using Metal Private API on newer version of MoltenVK + //LineWidth is only supported on macOS when using Metal Private API on newer version of MoltenVK dynamicStates[currentIndex++] = DynamicState.LineWidth; }