From 5493ec3c199b3190dc5d247d9e2a0eccd5066cf2 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Sun, 7 Jul 2019 11:46:18 +0300 Subject: [PATCH] anv: manually add KHR_display to the list of platforms Signed-off-by: Lionel Landwerlin Fixes: 38305e6c94ea31 ("anv: replace hard-coded platform list with vk.xml parse") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111078 Reviewed-by: Eric Engestrom --- src/intel/vulkan/anv_extensions_gen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/intel/vulkan/anv_extensions_gen.py b/src/intel/vulkan/anv_extensions_gen.py index 66ab93a316e..e83c0e16958 100644 --- a/src/intel/vulkan/anv_extensions_gen.py +++ b/src/intel/vulkan/anv_extensions_gen.py @@ -42,6 +42,8 @@ def _init_exts_from_xml(xml): for ext in EXTENSIONS: ext_name_map[ext.name] = ext + # KHR_display is missing from the list. + platform_defines.append('VK_USE_PLATFORM_DISPLAY_KHR') for platform in xml.findall('./platforms/platform'): platform_defines.append(platform.attrib['protect']) -- 2.30.2