tools/spec: remove dead code
This commit is contained in:
parent
345b428069
commit
baf94e5e9d
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user