mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 13:00:21 +01:00
gallivm: use LLVM opaque pointers in lp_bld_conv.c
Acked-by: Marek Olšák <marek.olsak@amd.com> Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15893>
This commit is contained in:
parent
6867b184ca
commit
f1fc0bb567
1 changed files with 1 additions and 1 deletions
|
|
@ -229,7 +229,7 @@ lp_build_float_to_half(struct gallivm_state *gallivm,
|
|||
*/
|
||||
LLVMValueRef f16 = lp_build_intrinsic_unary(builder, "llvm.convert.to.fp16", i16t, f32);
|
||||
#else
|
||||
LLVMValueRef f16 = LLVMBuildCall(builder, func, &f32, 1, "");
|
||||
LLVMValueRef f16 = LLVMBuildCall2(builder, func_type, func, &f32, 1, "");
|
||||
#endif
|
||||
ref_result = LLVMBuildInsertElement(builder, ref_result, f16, index, "");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue