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

Dylan Baker dylan at pnwbakers.com
Sat Oct 7 21:55:50 UTC 2017


Reviewed-by: Dylan Baker <dylan at pnwbakers.com>

Quoting Lionel Landwerlin (2017-10-07 11:33:23)
> 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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171007/05bb5272/attachment.sig>


More information about the mesa-dev mailing list