mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 21:00:22 +01:00
llvmpipe: Define LP_NIR_SHADER_DUMP_DIR differently on Android
Reference Android temporary path /data/local/tmp is used for Android builds Backport-to: 25.1 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35208>
This commit is contained in:
parent
542836afe5
commit
4aafb5fcc3
1 changed files with 5 additions and 0 deletions
|
|
@ -33,6 +33,7 @@
|
|||
#include "gallivm/lp_bld_init.h"
|
||||
|
||||
#include "util/compiler.h"
|
||||
#include "util/detect_os.h"
|
||||
#include "util/u_string.h"
|
||||
|
||||
#include <llvm-c/DebugInfo.h>
|
||||
|
|
@ -103,7 +104,11 @@ void
|
|||
lp_function_add_debug_info(struct gallivm_state *gallivm, LLVMValueRef func, LLVMTypeRef func_type);
|
||||
|
||||
|
||||
#if DETECT_OS_ANDROID
|
||||
#define LP_NIR_SHADER_DUMP_DIR "/data/local/tmp/nir_shaders"
|
||||
#else
|
||||
#define LP_NIR_SHADER_DUMP_DIR "/tmp/nir_shaders"
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue