From baf94e5e9dd8393d5ccbe19ceb111827147ed1bb Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 13 Mar 2019 18:16:16 +1100 Subject: [PATCH] tools/spec: remove dead code --- tools/spec.py | 53 --------------------------------------------------- 1 file changed, 53 deletions(-) diff --git a/tools/spec.py b/tools/spec.py index c52a8ae..8e01216 100644 --- a/tools/spec.py +++ b/tools/spec.py @@ -1084,59 +1084,6 @@ def main(): reg.types['VK_DEFINE_HANDLE'] = AliasType("VK_DEFINE_HANDLE", "void*") reg.types['VK_NULL_HANDLE'] = AliasValue("VK_NULL_HANDLE", "nullptr") - #reg.types['vk_icdGetInstanceProcAddr'] = Command( - # name='vk_icdGetInstanceProcAddr', - # result='void*', - # params=[ - # Command.Param( - # name='instance', - # type='VkInstance', - # param='VkInstance instance', - # depends=['VkInstance'] - # ), - # Command.Param( - # name='pName', - # type='void*', - # param='char const *pName', - # depends=[] - # ), - # ] - #) - #reg.types['vk_icdGetPhysicalDeviceProcAddr'] = Command( - # name='vk_icdGetPhysicalDeviceProcAddr', - # result='void*', - # params=[ - # Command.Param( - # name='instance', - # type='VkInstance', - # param='VkInstance instance', - # depends=['VkInstance'] - # ), - # Command.Param( - # name='pName', - # type='void*', - # param='char const *pName', - # depends=[] - # ), - # ] - #) - - #icd = Feature( - # "__nerdcruft_icd", - # requires=[ - # Require(None, ["vk_icdGetInstanceProcAddr"]), - # Require(None, ["vk_icdGetPhysicalDeviceProcAddr"]) - # ] - #) - #reg.features['__nerdcruft_icd'] = icd - #reg.types['__nerdcruft_icd'] = reg.features['__nerdcruft_icd'] - - # Request serialisation of all features - #features = [Feature(n) for n in root.findall('./feature')] - #features = dict((f.name,f) for f in features) - - #reg.extensions['VK_KHR_surface'].apply(reg, platform='xcb') - # Request a minimal set of extensions that will almost certainly be # required for all applications. extensions = ["VK_KHR_swapchain", "VK_EXT_debug_report", "VK_KHR_external_memory"]