gallivm: use InternalLinkage instead of PrivateLinkage for texture functions
At least with MCJIT the disassembler will crash otherwise when trying to disassemble such functions. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
8b66e2647d
commit
5c200894c8
|
@ -3320,7 +3320,7 @@ lp_build_sample_soa_func(struct gallivm_state *gallivm,
|
||||||
}
|
}
|
||||||
|
|
||||||
LLVMSetFunctionCallConv(function, LLVMFastCallConv);
|
LLVMSetFunctionCallConv(function, LLVMFastCallConv);
|
||||||
LLVMSetLinkage(function, LLVMPrivateLinkage);
|
LLVMSetLinkage(function, LLVMInternalLinkage);
|
||||||
|
|
||||||
lp_build_sample_gen_func(gallivm,
|
lp_build_sample_gen_func(gallivm,
|
||||||
static_texture_state,
|
static_texture_state,
|
||||||
|
|
Loading…
Reference in New Issue