Bug 95088

Summary: src/intel/vulkan/anv_entrypoints.h:162:69: error: unknown type name ‘VkXcbSurfaceCreateInfoKHR’
Product: Mesa Reporter: Vinson Lee <vlee>
Component: OtherAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact: mesa-dev
Severity: normal    
Priority: medium CC: jason, krh
Version: gitKeywords: regression
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2016-04-23 15:48:58 UTC
mesa: e29b3bfd6e5200aebbff6f056c49e978682ccc09 (master 11.3.0-devel)

  CC       block_pool_no_free.o
In file included from ../../../../src/intel/vulkan/anv_private.h:60:0,
                 from block_pool_no_free.c:26:
../../../../src/intel/vulkan/anv_entrypoints.h:162:69: error: unknown type name ‘VkXcbSurfaceCreateInfoKHR’
          VkResult (*CreateXcbSurfaceKHR)(VkInstance instance, const VkXcbSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
Comment 1 Emil Velikov 2016-04-27 08:04:13 UTC
The issue is resolved with my earlier series, with one patch still pending ack/nack/r-b.
Comment 2 Vinson Lee 2016-04-28 22:21:18 UTC
Build fails with clang too.

  CC       block_pool_no_free.o
In file included from block_pool_no_free.c:26:
In file included from ../../../../src/intel/vulkan/anv_private.h:60:
../../../../src/intel/vulkan/anv_entrypoints.h:162:69: error: unknown type name 'VkXcbSurfaceCreateInfoKHR'; did you mean 'VkDisplaySurfaceCreateInfoKHR'?
         VkResult (*CreateXcbSurfaceKHR)(VkInstance instance, const VkXcbSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~
                                                                    VkDisplaySurfaceCreateInfoKHR
../../../../include/vulkan/vulkan.h:3397:3: note: 'VkDisplaySurfaceCreateInfoKHR' declared here
} VkDisplaySurfaceCreateInfoKHR;
  ^
Comment 3 Emil Velikov 2016-05-01 09:02:23 UTC
The series mentioned in comment 1 has been merged. This particular issue should be gone as of.

commit 3ee7d8b0eb9324b56ea9386e3c1d2925eaaaa225
Author: Emil Velikov <emil.velikov@collabora.com>
Date:   Wed Apr 20 23:10:00 2016 +0100

    anv: fold the tests' makefile

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.