From 1b9e42bdb45af23fb53f12d9dcfa349571ed61b6 Mon Sep 17 00:00:00 2001 From: sunshineinabox Date: Tue, 30 Jul 2024 18:17:49 -0700 Subject: [PATCH] Should not just check for extension. This is more correct. --- src/Ryujinx.Graphics.Vulkan/VulkanInitialization.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ryujinx.Graphics.Vulkan/VulkanInitialization.cs b/src/Ryujinx.Graphics.Vulkan/VulkanInitialization.cs index aec4a8d3e..3107dcf30 100644 --- a/src/Ryujinx.Graphics.Vulkan/VulkanInitialization.cs +++ b/src/Ryujinx.Graphics.Vulkan/VulkanInitialization.cs @@ -469,7 +469,7 @@ namespace Ryujinx.Graphics.Vulkan SType = StructureType.PhysicalDeviceExtendedDynamicState2FeaturesExt, PNext = pExtendedFeatures, ExtendedDynamicState2 = - physicalDevice.IsDeviceExtensionPresent(ExtExtendedDynamicState2.ExtensionName), + supportedFeaturesExtExtendedDynamicState2.ExtendedDynamicState2, ExtendedDynamicState2LogicOp = supportedFeaturesExtExtendedDynamicState2.ExtendedDynamicState2LogicOp, ExtendedDynamicState2PatchControlPoints = supportedFeaturesExtExtendedDynamicState2