diff options
author | Piplup <100526773+piplup55@users.noreply.github.com> | 2024-05-24 02:57:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-23 22:57:26 -0300 |
commit | c98b7fc702deb8d3e93f24d23dfddef375df15ff (patch) | |
tree | 978710b5012efd34c49f430c4d8bdb22cf118ddc /src | |
parent | e65effcb05c40247fb717b3c2409abce7ffa10fc (diff) |
Workaround bug on logic op with float framebuffer (#6858)1.1.1321
* intel workaround
built on top of the amd workaround
* forgot to update the note
* Logic Change
Enabled workaround for all vendors that aren't nvidia
* Applied Suggestions
Diffstat (limited to 'src')
-rw-r--r-- | src/Ryujinx.Graphics.Vulkan/PipelineState.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Ryujinx.Graphics.Vulkan/PipelineState.cs b/src/Ryujinx.Graphics.Vulkan/PipelineState.cs index 21160858..c3874893 100644 --- a/src/Ryujinx.Graphics.Vulkan/PipelineState.cs +++ b/src/Ryujinx.Graphics.Vulkan/PipelineState.cs @@ -560,9 +560,9 @@ namespace Ryujinx.Graphics.Vulkan } } - // 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 = LogicOpEnable && (gd.Vendor != Vendor.Amd || Internal.LogicOpsAllowed); + bool logicOpEnable = LogicOpEnable && (gd.Vendor == Vendor.Nvidia || Internal.LogicOpsAllowed); var colorBlendState = new PipelineColorBlendStateCreateInfo { |