From e68f471162828c202a5e0d4684501fab25e09759 Mon Sep 17 00:00:00 2001 From: sunshineinabox Date: Thu, 23 May 2024 19:37:56 -0700 Subject: [PATCH] Rebase --- src/Ryujinx.Graphics.Vulkan/PipelineBase.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs b/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs index 34145ac8c0..fc7b11598d 100644 --- a/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs +++ b/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs @@ -1021,9 +1021,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) {