From 06719f9d4b290839b8137af8d8870e4fda041190 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 16 Oct 2017 21:48:11 -0700 Subject: [PATCH] anv/entrypoints: Drop support for protect attributes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Samuel Iglesias Gonsálvez --- 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 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' -- 2.30.2