From 7d7b1923aa08cf1811804f35c82cdcdacc99c439 Mon Sep 17 00:00:00 2001 From: sunshineinabox Date: Tue, 21 May 2024 18:26:21 -0700 Subject: [PATCH] Resolve VUID-vkCmdSetPatchControlPointsEXT-None-09422(ERROR / SPEC): msgNum: -1559328192 - Validation Error: [ VUID-vkCmdSetPatchControlPointsEXT-None-09422 ] Object 0: handle = 0x25f0eb40170, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0xa30e8a40 | vkCmdSetPatchControlPointsEXT(): extendedDynamicState2PatchControlPoints or shaderObject feature is not enabled. The Vulkan spec states: At least one of the following must be true: The extendedDynamicState2PatchControlPoints feature is enabled The shaderObject feature is enabled (https://vulkan.lunarg.com/doc/view/1.3.283.0/windows/1.3-extensions/vkspec.html#VUID-vkCmdSetPatchControlPointsEXT-None-09422) Objects: 1 [0] 0x25f0eb40170, type: 6, name: NULL --- src/Ryujinx.Graphics.Vulkan/PipelineDynamicState.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ryujinx.Graphics.Vulkan/PipelineDynamicState.cs b/src/Ryujinx.Graphics.Vulkan/PipelineDynamicState.cs index 4d231684a3..cb248097bf 100644 --- a/src/Ryujinx.Graphics.Vulkan/PipelineDynamicState.cs +++ b/src/Ryujinx.Graphics.Vulkan/PipelineDynamicState.cs @@ -370,7 +370,7 @@ namespace Ryujinx.Graphics.Vulkan if (!gd.ExtendedDynamicState2Features.ExtendedDynamicState2PatchControlPoints) { - _dirty &= ~DirtyFlags.LogicOp; + _dirty &= ~DirtyFlags.PatchControlPoints; } if (!gd.ExtendedDynamicState3Features.ExtendedDynamicState3AlphaToCoverageEnable)