Should not just check for extension. This is more correct.

This commit is contained in:
sunshineinabox 2024-07-30 18:17:49 -07:00
parent 7396c05b35
commit 1b9e42bdb4

View file

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