mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-18 14:56:41 +00:00
Small changes
This commit is contained in:
parent
ba56c1d3b3
commit
1adae7794a
1 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue