android,autotools,i965: Fix location of float64_glsl.h
authorDylan Baker <dylan@pnwbakers.com>
Wed, 30 Jan 2019 18:02:41 +0000 (10:02 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 31 Jan 2019 19:04:30 +0000 (19:04 +0000)
Android.mk and autotools disagree about where generated files should
go, which wasn't a problem until we wanted to build a dist
tarball. This corrects the problem by changing the output and include
paths to be the same on android and autotools (meson already has the
correct include path).

Fixes: 7d7b30835cfb9eb89beca9fb8593d0954f79b84d
       ("automake: Fix path to generated source")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/compiler/Android.glsl.gen.mk
src/mesa/drivers/dri/i965/Makefile.am
src/mesa/drivers/dri/i965/brw_program.c

index e31eb6f101fa00ef80f38cccd8392861a16da894..3b94ea7bd2febc022b38272917a382df8f9645b0 100644 (file)
@@ -104,6 +104,6 @@ $(intermediates)/glsl/ir_expression_operation_strings.h: $(LOCAL_PATH)/glsl/ir_e
        @mkdir -p $(dir $@)
        $(hide) $(MESA_PYTHON2) $< strings > $@
 
-$(intermediates)/compiler/glsl/float64_glsl.h: $(LOCAL_PATH)/glsl/xxd.py
+$(intermediates)/glsl/float64_glsl.h: $(LOCAL_PATH)/glsl/xxd.py
        @mkdir -p $(dir $@)
        $(hide) $(MESA_PYTHON2) $< $(MESA_TOP)/src/compiler/glsl/float64.glsl $@ -n float64_source > $@
index b562c6ea21c20255fe523cead15c7c44a30cfc54..0bda2897e8e6e171b1fdd9de58ee003a79d002fb 100644 (file)
@@ -34,6 +34,8 @@ AM_CFLAGS = \
        -I$(top_builddir)/src/util \
        -I$(top_srcdir)/src/mesa/drivers/dri/common \
        -I$(top_srcdir)/src/gtest/include \
+       -I$(top_builddir)/src/compiler \
+       -I$(top_srcdir)/src/compiler \
        -I$(top_builddir)/src/compiler/glsl \
        -I$(top_builddir)/src/compiler/nir \
        -I$(top_srcdir)/src/compiler/nir \
index 9ab25cf664cb6afdb105acc447e295cb66d33520..1038d9a47a0a7d2de0ed3c43dd3d7311f270c358 100644 (file)
@@ -42,7 +42,7 @@
 #include "compiler/glsl/ir.h"
 #include "compiler/glsl/program.h"
 #include "compiler/glsl/glsl_to_nir.h"
-#include "compiler/glsl/float64_glsl.h"
+#include "glsl/float64_glsl.h"
 
 #include "brw_program.h"
 #include "brw_context.h"