From 6aa30b24ba34ec7a20307445e2b3ecd6c7157f0b Mon Sep 17 00:00:00 2001 From: sunshineinabox Date: Tue, 6 Aug 2024 08:15:17 -0700 Subject: [PATCH] Actually change what is being passed to HwCapabilities instead of just disabling the feature. --- src/Ryujinx.Graphics.Vulkan/VulkanInitialization.cs | 3 --- src/Ryujinx.Graphics.Vulkan/VulkanRenderer.cs | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Ryujinx.Graphics.Vulkan/VulkanInitialization.cs b/src/Ryujinx.Graphics.Vulkan/VulkanInitialization.cs index 14df8fadec..f1d86dcf7d 100644 --- a/src/Ryujinx.Graphics.Vulkan/VulkanInitialization.cs +++ b/src/Ryujinx.Graphics.Vulkan/VulkanInitialization.cs @@ -462,9 +462,6 @@ namespace Ryujinx.Graphics.Vulkan pExtendedFeatures = &featuresExtendedDynamicState; - //Temporarily disable this can be added back at a later date, make it easy to re-enable. - supportedFeaturesExtExtendedDynamicState2.ExtendedDynamicState2PatchControlPoints = false; - if (physicalDevice.IsDeviceExtensionPresent(ExtExtendedDynamicState2.ExtensionName)) { var featuresExtendedDynamicState2 = new PhysicalDeviceExtendedDynamicState2FeaturesEXT() diff --git a/src/Ryujinx.Graphics.Vulkan/VulkanRenderer.cs b/src/Ryujinx.Graphics.Vulkan/VulkanRenderer.cs index fbf8856e50..70b1864a50 100644 --- a/src/Ryujinx.Graphics.Vulkan/VulkanRenderer.cs +++ b/src/Ryujinx.Graphics.Vulkan/VulkanRenderer.cs @@ -387,6 +387,9 @@ namespace Ryujinx.Graphics.Vulkan properties.Limits.FramebufferDepthSampleCounts & properties.Limits.FramebufferStencilSampleCounts; + //Temporarily disable this can be added back at a later date, make it easy to re-enable. + featuresExtendedDynamicState2.ExtendedDynamicState2PatchControlPoints = false; + Capabilities = new HardwareCapabilities( _physicalDevice.IsDeviceExtensionPresent("VK_EXT_index_type_uint8"), supportsCustomBorderColor,