OSDN Git Service

anv: fix nir.h include
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sat, 7 Oct 2017 18:29:18 +0000 (19:29 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sat, 7 Oct 2017 21:57:50 +0000 (22:57 +0100)
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@intel.com>
Fixes: f3e91e78a337 ("anv: add nir lowering pass for ycbcr textures")
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_nir_lower_ycbcr_textures.c

index 8cb322b..028f24e 100644 (file)
@@ -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 {