From 74a1ab031db6b350b8d7e6652feeeb3f3ed9db52 Mon Sep 17 00:00:00 2001 From: sunshineinabox Date: Wed, 22 May 2024 17:51:54 -0700 Subject: [PATCH] Attempt to resolve more validation errors. --- src/Ryujinx.Graphics.Vulkan/PipelineDynamicState.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Ryujinx.Graphics.Vulkan/PipelineDynamicState.cs b/src/Ryujinx.Graphics.Vulkan/PipelineDynamicState.cs index ecf8013bec..481d96bf80 100644 --- a/src/Ryujinx.Graphics.Vulkan/PipelineDynamicState.cs +++ b/src/Ryujinx.Graphics.Vulkan/PipelineDynamicState.cs @@ -489,7 +489,7 @@ namespace Ryujinx.Graphics.Vulkan private readonly void RecordStencil(VulkanRenderer gd, CommandBuffer commandBuffer) { - if (_opToo && StencilTestEnable) + if (_opToo) { gd.ExtendedDynamicStateApi.CmdSetStencilOp(commandBuffer, StencilFaceFlags.FaceBackBit, _backfailop, _backpassop, _backdepthfailop, _backcompareop); @@ -569,11 +569,6 @@ namespace Ryujinx.Graphics.Vulkan private readonly void RecordLogicOp(VulkanRenderer gd, CommandBuffer commandBuffer) { - if (gd.ExtendedDynamicState3Features.ExtendedDynamicState3LogicOpEnable && !_logicOpEnable) - { - return; - } - gd.ExtendedDynamicState2Api.CmdSetLogicOp(commandBuffer, _logicOp); }