Logic Change

Enabled workaround for all vendors that aren't nvidia
This commit is contained in:
Piplup 2024-05-23 17:54:14 +01:00
commit 61c84d398f

View file

@ -560,9 +560,9 @@ namespace Ryujinx.Graphics.Vulkan
} }
} }
// AMD and Intel has a bug where it enables logical operations even for float formats, // vendors other than nvidia have a bug where it enables logical operations even for float formats,
// so we need to force disable them here. // so we need to force disable them here.
bool logicOpEnable = LogicOpEnable && (gd.Vendor != Vendor.Amd && gd.Vendor != Vendor.Intel || Internal.LogicOpsAllowed); bool logicOpEnable = LogicOpEnable && (gd.Vendor == Vendor.Nvidia || Internal.LogicOpsAllowed);
var colorBlendState = new PipelineColorBlendStateCreateInfo var colorBlendState = new PipelineColorBlendStateCreateInfo
{ {