radv: generate entrypoints for VK_ANDROID_native_buffer
authorMauro Rossi <issor.oruam@gmail.com>
Mon, 11 Jun 2018 20:41:33 +0000 (22:41 +0200)
committerMauro Rossi <issor.oruam@gmail.com>
Sat, 28 Jul 2018 10:39:57 +0000 (12:39 +0200)
Patch changes radv entrypoints generator to not skip this extension even
though it is set as disabled in the vk.xml

Reference: 63525ba730 ("android: enable VK_ANDROID_native_buffer")
Fixes: 69f447553c ("vulkan: Drop vk_android_native_buffer.xml")
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Robert Foss <robert.foss@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/amd/vulkan/radv_entrypoints_gen.py

index ca022bcbb0321ef92cda03de4251a8ad4c6483bb..377b544c2aa7d0802848cb0d58e55fbf5e5c1816 100644 (file)
@@ -413,9 +413,6 @@ def get_entrypoints(doc, entrypoints_to_defines, start_index):
         if ext_name not in supported_exts:
             continue
 
-        if extension.attrib['supported'] != 'vulkan':
-            continue
-
         ext = supported_exts[ext_name]
         ext.type = extension.attrib['type']