aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2019-07-07 11:46:18 +0300
committerLionel Landwerlin <[email protected]>2019-07-07 15:34:09 +0300
commit5493ec3c199b3190dc5d247d9e2a0eccd5066cf2 (patch)
tree57f29c500717d18c9e5a18b8b21ee5773f539e96 /src/intel
parent002c8cae442a74a0495c77fa9e37e5f1411ed9a0 (diff)
anv: manually add KHR_display to the list of platforms
Signed-off-by: Lionel Landwerlin <[email protected]> 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 <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/vulkan/anv_extensions_gen.py2
1 files changed, 2 insertions, 0 deletions
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'])