projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4889fa
)
gallivm: added lp_build_const_int32() helper
author
Brian Paul
<brianp@vmware.com>
Wed, 21 Jul 2010 00:45:45 +0000
(18:45 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 21 Jul 2010 00:50:35 +0000
(18:50 -0600)
src/gallium/auxiliary/gallivm/lp_bld_const.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_const.h
b/src/gallium/auxiliary/gallivm/lp_bld_const.h
index
d46b9f8
..
7ee8fff
100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_const.h
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_const.h
@@
-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 */