Small changes

This commit is contained in:
sunshineinabox 2024-05-26 18:46:10 -07:00
parent ba56c1d3b3
commit 1adae7794a
1 changed files with 2 additions and 4 deletions

View File

@ -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;
}