[Mesa-dev] [PATCH 18/56] anv/entrypoints: Drop support for protect attributes
Jason Ekstrand
jason at jlekstrand.net
Wed Mar 7 14:35:06 UTC 2018
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
---
src/intel/vulkan/anv_entrypoints_gen.py | 7 -------
1 file changed, 7 deletions(-)
diff --git a/src/intel/vulkan/anv_entrypoints_gen.py b/src/intel/vulkan/anv_entrypoints_gen.py
index 55ebd16..485c6cf 100644
--- a/src/intel/vulkan/anv_entrypoints_gen.py
+++ b/src/intel/vulkan/anv_entrypoints_gen.py
@@ -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'
--
2.5.0.400.gff86faf
More information about the mesa-dev
mailing list