From fb4ef3347abd8fd001fd1a3b0a7c1b85fba106ec 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 2ec66ef31..ade6fb165 100644 --- a/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs +++ b/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs @@ -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) {