Missed line

This commit is contained in:
sunshineinabox 2024-05-26 18:44:53 -07:00
parent f43413f374
commit ba56c1d3b3

View file

@ -460,7 +460,6 @@ namespace Ryujinx.Graphics.Vulkan
rasterizationState.LineWidth = 1.0f; rasterizationState.LineWidth = 1.0f;
} }
if (!supportsExtDynamicState2) if (!supportsExtDynamicState2)
{ {
rasterizationState.DepthBiasEnable = DepthBiasEnable; rasterizationState.DepthBiasEnable = DepthBiasEnable;
@ -552,10 +551,6 @@ namespace Ryujinx.Graphics.Vulkan
} }
} }
// AMD has a bug where it enables logical operations even for float formats,
// so we need to force disable them here.
bool logicOpEnable = LogicOpEnable && (gd.Vendor != Vendor.Amd || Internal.LogicOpsAllowed);
var colorBlendState = new PipelineColorBlendStateCreateInfo var colorBlendState = new PipelineColorBlendStateCreateInfo
{ {
SType = StructureType.PipelineColorBlendStateCreateInfo, SType = StructureType.PipelineColorBlendStateCreateInfo,