summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKristian H. Kristensen <[email protected]>2019-02-05 14:13:51 -0800
committerKristian H. Kristensen <[email protected]>2019-02-05 14:19:51 -0800
commitba4b22011a213dcd23a2f5824e6720d0aa28076a (patch)
tree2664c591f8ee26cc1a8f73c97517bd14f0929507 /src
parent8fa54bc54902960640d8140bef8c9d35677f17cb (diff)
st/nir: Use src/ relative include path for autotools
Fixes: cdc53fa81cbeb80373eac33ef7695d9025caf14b Acked-by: Kenneth Graunke <[email protected]> Signed-off-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_nir_builtins.c3
-rw-r--r--src/mesa/state_tracker/st_pbo.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_nir_builtins.c b/src/mesa/state_tracker/st_nir_builtins.c
index ebfc3502ec2..7574ce306d5 100644
--- a/src/mesa/state_tracker/st_nir_builtins.c
+++ b/src/mesa/state_tracker/st_nir_builtins.c
@@ -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,
diff --git a/src/mesa/state_tracker/st_pbo.c b/src/mesa/state_tracker/st_pbo.c
index af6aa50fa9e..6d530f073dd 100644
--- a/src/mesa/state_tracker/st_pbo.c
+++ b/src/mesa/state_tracker/st_pbo.c
@@ -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,