<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Android build error after 38305e6c ("anv: replace hard-coded platform list with vk.xml parse")"
href="https://bugs.freedesktop.org/show_bug.cgi?id=111078">111078</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Android build error after 38305e6c ("anv: replace hard-coded platform list with vk.xml parse")
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>blocker
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/Vulkan/intel
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>issor.oruam@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>jason@jlekstrand.net
</td>
</tr></table>
<p>
<div>
<pre>The following building error are happening with Android build system,
reverting commit 38305e6c ("anv: replace hard-coded platform list with vk.xml
parse") fixes the problem.
out/target/product/x86_64/obj_x86/STATIC_LIBRARIES/libmesa_vulkan_common_intermediates/vulkan/anv_extensions.c:144:19:
error: use of undeclared identifier 'VK_USE_PLATFORM_DISPLAY_KHR'
.KHR_display = VK_USE_PLATFORM_DISPLAY_KHR,
^
out/target/product/x86_64/obj_x86/STATIC_LIBRARIES/libmesa_vulkan_common_intermediates/vulkan/anv_extensions.c:148:35:
error: use of undeclared identifier 'VK_USE_PLATFORM_DISPLAY_KHR'
.KHR_get_display_properties2 = VK_USE_PLATFORM_DISPLAY_KHR,
^
out/target/product/x86_64/obj_x86/STATIC_LIBRARIES/libmesa_vulkan_common_intermediates/vulkan/anv_extensions.c:150:37:
error: use of undeclared identifier 'VK_USE_PLATFORM_DISPLAY_KHR'
.KHR_get_surface_capabilities2 = ANV_HAS_SURFACE,
^
out/target/product/x86_64/obj_x86/STATIC_LIBRARIES/libmesa_vulkan_common_intermediates/vulkan/anv_extensions.c:111:187:
note: expanded from macro 'ANV_HAS_SURFACE'
#define ANV_HAS_SURFACE (VK_USE_PLATFORM_WAYLAND_KHR ||
VK_USE_PLATFORM_XCB_KHR || VK_USE_PLATFORM_XLIB_KHR
|| VK_USE_PLATFORM_DISPLAY_KHR)
^
out/target/product/x86_64/obj_x86/STATIC_LIBRARIES/libmesa_vulkan_common_intermediates/vulkan/anv_extensions.c:151:19:
error: use of undeclared identifier 'VK_USE_PLATFORM_DISPLAY_KHR'
.KHR_surface = ANV_HAS_SURFACE,
^
out/target/product/x86_64/obj_x86/STATIC_LIBRARIES/libmesa_vulkan_common_intermediates/vulkan/anv_extensions.c:111:187:
note: expanded from macro 'ANV_HAS_SURFACE'
#define ANV_HAS_SURFACE (VK_USE_PLATFORM_WAYLAND_KHR ||
VK_USE_PLATFORM_XCB_KHR || VK_USE_PLATFORM_XLIB_KHR
|| VK_USE_PLATFORM_DISPLAY_KHR)
^
out/target/product/x86_64/obj_x86/STATIC_LIBRARIES/libmesa_vulkan_common_intermediates/vulkan/anv_extensions.c:152:42:
error: use of undeclared identifier 'VK_USE_PLATFORM_DISPLAY_KHR'
.KHR_surface_protected_capabilities = ANV_HAS_SURFACE,
^
out/target/product/x86_64/obj_x86/STATIC_LIBRARIES/libmesa_vulkan_common_intermediates/vulkan/anv_extensions.c:111:187:
note: expanded from macro 'ANV_HAS_SURFACE'
#define ANV_HAS_SURFACE (VK_USE_PLATFORM_WAYLAND_KHR ||
VK_USE_PLATFORM_XCB_KHR || VK_USE_PLATFORM_XLIB_KHR
|| VK_USE_PLATFORM_DISPLAY_KHR)
^
out/target/product/x86_64/obj_x86/STATIC_LIBRARIES/libmesa_vulkan_common_intermediates/vulkan/anv_extensions.c:158:31:
error: use of undeclared identifier 'VK_USE_PLATFORM_DISPLAY_KHR'
.EXT_direct_mode_display = VK_USE_PLATFORM_DISPLAY_KHR,
^
out/target/product/x86_64/obj_x86/STATIC_LIBRARIES/libmesa_vulkan_common_intermediates/vulkan/anv_extensions.c:159:35:
error: use of undeclared identifier 'VK_USE_PLATFORM_DISPLAY_KHR'
.EXT_display_surface_counter = VK_USE_PLATFORM_DISPLAY_KHR,
^
out/target/product/x86_64/obj_x86/STATIC_LIBRARIES/libmesa_vulkan_common_intermediates/vulkan/anv_extensions.c:273:34:
error: use of undeclared identifier 'VK_USE_PLATFORM_DISPLAY_KHR'
.KHR_incremental_present = ANV_HAS_SURFACE,
^
out/target/product/x86_64/obj_x86/STATIC_LIBRARIES/libmesa_vulkan_common_intermediates/vulkan/anv_extensions.c:111:187:
note: expanded from macro 'ANV_HAS_SURFACE'
#define ANV_HAS_SURFACE (VK_USE_PLATFORM_WAYLAND_KHR ||
VK_USE_PLATFORM_XCB_KHR || VK_USE_PLATFORM_XLIB_KHR
|| VK_USE_PLATFORM_DISPLAY_KHR)
^
out/target/product/x86_64/obj_x86/STATIC_LIBRARIES/libmesa_vulkan_common_intermediates/vulkan/anv_extensions.c:286:24:
error: use of undeclared identifier 'VK_USE_PLATFORM_DISPLAY_KHR'
.KHR_swapchain = ANV_HAS_SURFACE,
^
out/target/product/x86_64/obj_x86/STATIC_LIBRARIES/libmesa_vulkan_common_intermediates/vulkan/anv_extensions.c:111:187:
note: expanded from macro 'ANV_HAS_SURFACE'
#define ANV_HAS_SURFACE (VK_USE_PLATFORM_WAYLAND_KHR ||
VK_USE_PLATFORM_XCB_KHR || VK_USE_PLATFORM_XLIB_KHR
|| VK_USE_PLATFORM_DISPLAY_KHR)
^
out/target/product/x86_64/obj_x86/STATIC_LIBRARIES/libmesa_vulkan_common_intermediates/vulkan/anv_extensions.c:294:30:
error: use of undeclared identifier 'VK_USE_PLATFORM_DISPLAY_KHR'
.EXT_display_control = VK_USE_PLATFORM_DISPLAY_KHR,
^
10 errors generated.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>