This commit is contained in:
sunshineinabox 2024-05-23 19:37:56 -07:00
parent 0000a7ac9c
commit fb4ef3347a
1 changed files with 2 additions and 2 deletions

View File

@ -1024,9 +1024,9 @@ namespace Ryujinx.Graphics.Vulkan
_newState.LogicOp = op.Convert();
}
// AMD 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.
bool logicOpEnable = enable && (Gd.Vendor != Vendor.Amd || _newState.Internal.LogicOpsAllowed);
bool logicOpEnable = enable && (Gd.Vendor == Vendor.Nvidia || _newState.Internal.LogicOpsAllowed);
if (Gd.ExtendedDynamicState3Features.ExtendedDynamicState3LogicOpEnable)
{