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

Lionel Landwerlin lionel.g.landwerlin at intel.com
Sat Oct 7 18:33:23 UTC 2017


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



More information about the mesa-dev mailing list