From: Jason Ekstrand Date: Tue, 17 Oct 2017 04:48:11 +0000 (-0700) Subject: anv/entrypoints: Drop support for protect attributes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06719f9d4b290839b8137af8d8870e4fda041190;p=mesa.git anv/entrypoints: Drop support for protect attributes Reviewed-by: Samuel Iglesias Gonsálvez --- 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'