[Mesa-dev] [PATCH] anv: fix nir.h include

Jason Ekstrand jason at jlekstrand.net
Sat Oct 7 19:58:10 UTC 2017


Rb


On October 7, 2017 11:34:10 AM Lionel Landwerlin 
<lionel.g.landwerlin at intel.com> wrote:

> All over mesa we include "nir/nir.h", we should probably do the same
> here. This fixes the meson build that was broken by the ycbcr series.
>
> Thanks to Dylan for finding the issue.
>
> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> Fixes: f3e91e78a337 ("anv: add nir lowering pass for ycbcr textures")
> Cc: Dylan Baker <dylan at pnwbakers.com>
> ---
>  src/intel/vulkan/anv_nir_lower_ycbcr_textures.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/intel/vulkan/anv_nir_lower_ycbcr_textures.c 
> b/src/intel/vulkan/anv_nir_lower_ycbcr_textures.c
> index 8cb322be3e2..028f24e2f60 100644
> --- a/src/intel/vulkan/anv_nir_lower_ycbcr_textures.c
> +++ b/src/intel/vulkan/anv_nir_lower_ycbcr_textures.c
> @@ -23,7 +23,7 @@
>
>  #include "anv_nir.h"
>  #include "anv_private.h"
> -#include "nir.h"
> +#include "nir/nir.h"
>  #include "nir/nir_builder.h"
>
>  struct ycbcr_state {
> --
> 2.14.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