Mesa (master): anv: fix nir.h include

Lionel Landwerlin llandwerlin at kemper.freedesktop.org
Sat Oct 7 21:59:57 UTC 2017


Module: Mesa
Branch: master
Commit: e262845e371217d23e345d2e315931e01aa0ee04
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e262845e371217d23e345d2e315931e01aa0ee04

Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Sat Oct  7 19:29:18 2017 +0100

anv: fix nir.h include

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")
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

---

 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 8cb322be3e..028f24e2f6 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 {




More information about the mesa-commit mailing list