From e65effcb05c40247fb717b3c2409abce7ffa10fc Mon Sep 17 00:00:00 2001 From: gdkchan Date: Thu, 23 May 2024 01:05:32 -0300 Subject: Workaround AMD bug on logic op with float framebuffer (#6852) * Workaround AMD bug on logic op with float framebuffer * Format whitespace * Update comment --- src/Ryujinx.Graphics.Vulkan/PipelineBase.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Ryujinx.Graphics.Vulkan/PipelineBase.cs') diff --git a/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs b/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs index 41ab84d9..3776e2f6 100644 --- a/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs +++ b/src/Ryujinx.Graphics.Vulkan/PipelineBase.cs @@ -1498,6 +1498,7 @@ namespace Ryujinx.Graphics.Vulkan var dstAttachmentFormats = _newState.Internal.AttachmentFormats.AsSpan(); FramebufferParams.AttachmentFormats.CopyTo(dstAttachmentFormats); _newState.Internal.AttachmentIntegerFormatMask = FramebufferParams.AttachmentIntegerFormatMask; + _newState.Internal.LogicOpsAllowed = FramebufferParams.LogicOpsAllowed; for (int i = FramebufferParams.AttachmentFormats.Length; i < dstAttachmentFormats.Length; i++) { -- cgit v1.2.3