anv/entrypoints: Drop support for protect attributes
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 17 Oct 2017 04:48:11 +0000 (21:48 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 7 Mar 2018 20:13:47 +0000 (12:13 -0800)
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/intel/vulkan/anv_entrypoints_gen.py

index 55ebd169064c60f6015627ba7c7b8c88311e57c7..485c6cfe8d72ca7f88232e6d1a7b8fb46498635a 100644 (file)
@@ -505,13 +505,6 @@ def get_entrypoints_defines(doc):
     """Maps entry points to extension defines."""
     entrypoints_to_defines = {}
 
-    for extension in doc.findall('./extensions/extension[@protect]'):
-        define = extension.attrib['protect']
-
-        for entrypoint in extension.findall('./require/command'):
-            fullname = entrypoint.attrib['name']
-            entrypoints_to_defines[fullname] = define
-
     for extension in doc.findall('./extensions/extension[@platform]'):
         platform = extension.attrib['platform']
         define = 'VK_USE_PLATFORM_' + platform.upper() + '_KHR'