diff options
author | Jason Ekstrand <[email protected]> | 2017-10-16 21:48:11 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-03-07 12:13:47 -0800 |
commit | 06719f9d4b290839b8137af8d8870e4fda041190 (patch) | |
tree | ff8bd1de9112d3ca96136232eafeb13834a85883 | |
parent | bd1279bd9fc9b7d9b4a2f74e096d771dde80f01b (diff) |
anv/entrypoints: Drop support for protect attributes
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
-rw-r--r-- | src/intel/vulkan/anv_entrypoints_gen.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/intel/vulkan/anv_entrypoints_gen.py b/src/intel/vulkan/anv_entrypoints_gen.py index 55ebd169064..485c6cfe8d7 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' |