diff options
author | Mauro Rossi <[email protected]> | 2017-02-18 22:23:18 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-03-01 13:34:42 +0000 |
commit | eba32b351f51c07fca206280ab9da19c928f36af (patch) | |
tree | 6c00c04ede8fbe0fe6964c41f30cfcd0881e1bf5 | |
parent | 2e6737fa882cac8222f3664331a52edd3c56e3c1 (diff) |
android: glsl: build shader cache sources
Fixes the following building errors:
external/mesa/src/compiler/glsl/linker.cpp:4642: error: undefined reference
to 'shader_cache_read_program_metadata(gl_context*, gl_shader_program*)'
external/mesa/src/mesa/program/ir_to_mesa.cpp:3135: error: undefined reference
to 'shader_cache_write_program_metadata(gl_context*, gl_shader_program*)'
clang++: error: linker command failed with exit code 1
...
external/mesa/src/mesa/program/ir_to_mesa.cpp:3135: error: undefined reference
to 'shader_cache_write_program_metadata(gl_context*, gl_shader_program*)'
external/mesa/src/compiler/glsl/linker.cpp:4642: error: undefined reference
to 'shader_cache_read_program_metadata(gl_context*, gl_shader_program*)'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
Fixes: 9f8dc3bf03e ("utils: build sha1/disk cache only with
Android/Autoconf")
Acked-by: Emil Velikov <[email protected]>
(cherry picked from commit 9e3d66c1e58f14d9c5e8df2a5ba7fdcf04b3258e)
-rw-r--r-- | src/compiler/Android.glsl.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/Android.glsl.mk b/src/compiler/Android.glsl.mk index dcc356f1856..0aabafa2673 100644 --- a/src/compiler/Android.glsl.mk +++ b/src/compiler/Android.glsl.mk @@ -36,6 +36,7 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := \ $(LIBGLCPP_FILES) \ $(LIBGLSL_FILES) \ + $(LIBGLSL_SHADER_CACHE_FILES) LOCAL_C_INCLUDES := \ $(MESA_TOP)/src/mapi \ |