[Mesa-dev] [PATCH] st/mesa: fix nir.h, nir_builder.h #includes to fix build

Brian Paul brianp at vmware.com
Tue Mar 20 15:51:25 UTC 2018


Use compiler/nir/nir.h as we do in other places in the state tracker.
I'm not sure why this just started to fail.  The #includes have been
there for a while.
---
 src/mesa/state_tracker/st_nir_lower_uniforms_to_ubo.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/state_tracker/st_nir_lower_uniforms_to_ubo.c b/src/mesa/state_tracker/st_nir_lower_uniforms_to_ubo.c
index e2a477e..b2f8f83 100644
--- a/src/mesa/state_tracker/st_nir_lower_uniforms_to_ubo.c
+++ b/src/mesa/state_tracker/st_nir_lower_uniforms_to_ubo.c
@@ -29,8 +29,8 @@
  * point by 1.
  */
 
-#include "nir.h"
-#include "nir_builder.h"
+#include "compiler/nir/nir.h"
+#include "compiler/nir/nir_builder.h"
 #include "st_nir.h"
 
 #include "program/prog_parameter.h"
-- 
2.7.4



More information about the mesa-dev mailing list