Rebase
This commit is contained in:
parent
0000a7ac9c
commit
fb4ef3347a
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue