st/nir: Use src/ relative include path for autotools
authorKristian H. Kristensen <hoegsberg@chromium.org>
Tue, 5 Feb 2019 22:13:51 +0000 (14:13 -0800)
committerKristian H. Kristensen <hoegsberg@chromium.org>
Tue, 5 Feb 2019 22:19:51 +0000 (14:19 -0800)
Fixes: cdc53fa81cbeb80373eac33ef7695d9025caf14b
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Kristian H. Kristensen <hoegsberg@chromium.org>
src/mesa/state_tracker/st_nir_builtins.c
src/mesa/state_tracker/st_pbo.c

index ebfc3502ec20eab77637d0d87f7364eddfc16d7c..7574ce306d5116069d49d17343e370530c19472e 100644 (file)
@@ -23,7 +23,8 @@
 #include "tgsi/tgsi_from_mesa.h"
 #include "st_glsl_types.h"
 #include "st_nir.h"
-#include "nir_builder.h"
+
+#include "compiler/nir/nir_builder.h"
 
 struct pipe_shader_state *
 st_nir_finish_builtin_shader(struct st_context *st,
index af6aa50fa9ed5ba07d7c3b0da71b15f75f1cba0b..6d530f073dd7d3d399306c6dfac8857ea86d9160 100644 (file)
@@ -33,7 +33,6 @@
 #include "state_tracker/st_pbo.h"
 #include "state_tracker/st_cb_bufferobjects.h"
 
-#include "nir_builder.h"
 #include "pipe/p_context.h"
 #include "pipe/p_defines.h"
 #include "pipe/p_screen.h"
@@ -43,6 +42,8 @@
 #include "util/u_inlines.h"
 #include "util/u_upload_mgr.h"
 
+#include "compiler/nir/nir_builder.h"
+
 /* Conversion to apply in the fragment shader. */
 enum st_pbo_conversion {
    ST_PBO_CONVERT_NONE = 0,