Actually change what is being passed to HwCapabilities instead of just disabling the feature.

This commit is contained in:
sunshineinabox 2024-08-06 08:15:17 -07:00
parent 53ca3b53b6
commit 6aa30b24ba
2 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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,