[Mesa-dev] [PATCH] meson, anv: Add inc_vulkan to include directories

Eric Engestrom eric.engestrom at intel.com
Sun Dec 23 15:35:02 UTC 2018


On Sunday, 2018-12-23 12:31:20 +0100, Jan Vesely wrote:
> From: Jan Vesely <jano.vesely at gmail.com>
> 
> intel_vulkan.h uses '#include "vulkan.h"' so the file needs to be in
> include path.
> Fixes meson build of anv

Hmm, that doesn't look?

include/vulkan/vulkan_intel.h has `#include "vulkan.h"`, which lives at
include/vulkan/vulkan.h, ie. in the same directory, so the current code
should work?

What failure do you see, and in what circumstance?

Could it be related to left over autotools files in your source dir?
Try again in a fresh clone?

> 
> Signed-off-by: Jan Vesely <jano.vesely at gmail.com>
> ---
>  src/intel/vulkan/meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/intel/vulkan/meson.build b/src/intel/vulkan/meson.build
> index e30e922528..d1c89be0f8 100644
> --- a/src/intel/vulkan/meson.build
> +++ b/src/intel/vulkan/meson.build
> @@ -181,7 +181,7 @@ libanv_common = static_library(
>    [libanv_files, anv_entrypoints, anv_extensions_c, anv_extensions_h, sha1_h],
>    include_directories : [
>      inc_common, inc_intel, inc_compiler, inc_drm_uapi, inc_vulkan_util,
> -    inc_vulkan_wsi,
> +    inc_vulkan_wsi, inc_vulkan
>    ],
>    c_args : anv_flags,
>    dependencies : anv_deps,
> -- 
> 2.19.2
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list