mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-27 02:53:04 +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;
|
colorBlendState.LogicOp = LogicOp;
|
||||||
}
|
}
|
||||||
|
|
||||||
PipelineColorBlendAdvancedStateCreateInfoEXT colorBlendAdvancedState;
|
|
||||||
|
|
||||||
if (!AdvancedBlendSrcPreMultiplied ||
|
if (!AdvancedBlendSrcPreMultiplied ||
|
||||||
!AdvancedBlendDstPreMultiplied ||
|
!AdvancedBlendDstPreMultiplied ||
|
||||||
AdvancedBlendOverlap != BlendOverlapEXT.UncorrelatedExt)
|
AdvancedBlendOverlap != BlendOverlapEXT.UncorrelatedExt)
|
||||||
{
|
{
|
||||||
colorBlendAdvancedState = new PipelineColorBlendAdvancedStateCreateInfoEXT
|
PipelineColorBlendAdvancedStateCreateInfoEXT colorBlendAdvancedState = new PipelineColorBlendAdvancedStateCreateInfoEXT
|
||||||
{
|
{
|
||||||
SType = StructureType.PipelineColorBlendAdvancedStateCreateInfoExt,
|
SType = StructureType.PipelineColorBlendAdvancedStateCreateInfoExt,
|
||||||
SrcPremultiplied = AdvancedBlendSrcPreMultiplied,
|
SrcPremultiplied = AdvancedBlendSrcPreMultiplied,
|
||||||
|
@ -622,7 +620,7 @@ namespace Ryujinx.Graphics.Vulkan
|
||||||
|
|
||||||
if (!isMoltenVk)
|
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;
|
dynamicStates[currentIndex++] = DynamicState.LineWidth;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue