diff options
author | Chih-Wei Huang <[email protected]> | 2018-05-24 15:03:31 +0800 |
---|---|---|
committer | Mauro Rossi <[email protected]> | 2018-07-21 08:50:23 +0200 |
commit | e7ffd3fb0899a897019a8968e5f976c310fc3e7c (patch) | |
tree | 83790192b86c04b0214fe2008fc8213f7b155bf4 /src/compiler/Android.nir.gen.mk | |
parent | e1febbefe84374cb18f724bb289382a8aa6a3539 (diff) |
Android: fix a missing nir_intrinsics.h error
The commit 76dfed8ae2d5 changed nir_intrinsics.h to be a generated
header, but the corresponding dependency was not updated for Android.
It causes the error:
[ 0% 19/4336] target C: libmesa_pipe_radeonsi <= external/mesa/src/gallium/drivers/radeonsi/si_debug.c
...
In file included from external/mesa/src/gallium/drivers/radeonsi/si_debug.c:25:
In file included from external/mesa/src/gallium/drivers/radeonsi/si_pipe.h:28:
In file included from external/mesa/src/gallium/drivers/radeonsi/si_shader.h:140:
In file included from external/mesa/src/amd/common/ac_llvm_build.h:30:
external/mesa/src/compiler/nir/nir.h:966:10: fatal error: 'nir_intrinsics.h' file not found
^~~~~~~~~~~~~~~~~~
1 error generated.
Fixes: 76dfed8ae2d5 ("nir: mako all the intrinsics")
Signed-off-by: Chih-Wei Huang <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Reviewed-by: Mauro Rossi <[email protected]>
Diffstat (limited to 'src/compiler/Android.nir.gen.mk')
-rw-r--r-- | src/compiler/Android.nir.gen.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/Android.nir.gen.mk b/src/compiler/Android.nir.gen.mk index fa0707e7240..894fb12c4be 100644 --- a/src/compiler/Android.nir.gen.mk +++ b/src/compiler/Android.nir.gen.mk @@ -46,6 +46,7 @@ LOCAL_GENERATED_SOURCES += $(addprefix $(intermediates)/, \ # Modules using libmesa_nir must set LOCAL_GENERATED_SOURCES to this MESA_GEN_NIR_H := $(addprefix $(call local-generated-sources-dir)/, \ nir/nir_opcodes.h \ + nir/nir_intrinsics.h \ nir/nir_builder_opcodes.h) nir_builder_opcodes_gen := $(LOCAL_PATH)/nir/nir_builder_opcodes_h.py |