From: Lionel Landwerlin Date: Sun, 7 Jul 2019 08:46:18 +0000 (+0300) Subject: anv: manually add KHR_display to the list of platforms X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5493ec3c199b3190dc5d247d9e2a0eccd5066cf2;p=mesa.git 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 --- 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'])