mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-11 04:50:35 +01:00
gallivm: add 64-bit const int creator.
Acked-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
41c77dbc1e
commit
84ba008774
1 changed files with 5 additions and 0 deletions
|
|
@ -126,6 +126,11 @@ lp_build_const_int32(struct gallivm_state *gallivm, int i)
|
|||
return LLVMConstInt(LLVMInt32TypeInContext(gallivm->context), i, 0);
|
||||
}
|
||||
|
||||
static inline LLVMValueRef
|
||||
lp_build_const_int64(struct gallivm_state *gallivm, int i)
|
||||
{
|
||||
return LLVMConstInt(LLVMInt64TypeInContext(gallivm->context), i, 0);
|
||||
}
|
||||
|
||||
static inline LLVMValueRef
|
||||
lp_build_const_float(struct gallivm_state *gallivm, float x)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue