mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
gallivm: added lp_build_const_int32() helper
This commit is contained in:
parent
c4889fa5f0
commit
b0636f78aa
1 changed files with 8 additions and 0 deletions
|
|
@ -107,4 +107,12 @@ lp_build_const_mask_aos(struct lp_type type,
|
|||
const boolean cond[4]);
|
||||
|
||||
|
||||
static INLINE LLVMValueRef
|
||||
lp_build_const_int32(int i)
|
||||
{
|
||||
return LLVMConstInt(LLVMInt32Type(), i, 0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
#endif /* !LP_BLD_CONST_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue