[Bug 111078] Android build error after 38305e6c ("anv: replace hard-coded platform list with vk.xml parse")

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jul 6 20:25:19 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111078

            Bug ID: 111078
           Summary: Android build error after 38305e6c ("anv: replace
                    hard-coded platform list with vk.xml parse")
           Product: Mesa
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: other
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: Drivers/Vulkan/intel
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: issor.oruam at gmail.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org
                CC: jason at jlekstrand.net

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20190706/e5cdcbd0/attachment.html>


More information about the intel-3d-bugs mailing list