diff --git a/vkdgen.py b/vkdgen.py index e94355b..91ac20f 100644 --- a/vkdgen.py +++ b/vkdgen.py @@ -494,5 +494,6 @@ def __init__(self, *args, **kwargs): emitversions=".*", #defaultExtensions="defaultExtensions", addExtensions=r".*", - removeExtensions = r"VK_KHR_.*_surface$", + # In order to prevent the platform-specific type is introduced + removeExtensions = r"VK_(KHR_.*_surface|AMD_.*|NV_.*|NVX_.*|GOOGLE_.*|.*_extension_\d+)$", ))