anv: manually add KHR_display to the list of platforms
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sun, 7 Jul 2019 08:46:18 +0000 (11:46 +0300)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sun, 7 Jul 2019 12:34:09 +0000 (15:34 +0300)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
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 <eric.engestrom@intel.com>
src/intel/vulkan/anv_extensions_gen.py

index 66ab93a316e54f1589b39a2454adc01ccc29ff0e..e83c0e1695864a161117aaf79c3ad4a5fe8177da 100644 (file)
@@ -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'])