projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallivm: fix indirect addressing of constant buffer
[mesa.git]
/
src
/
gallium
/
auxiliary
/
gallivm
/
lp_bld_const.h
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_const.h
b/src/gallium/auxiliary/gallivm/lp_bld_const.h
index d46b9f882b0fa38ba8bc44aaa988337b7269a306..7ee8fff1407db33472416a78f203558a046bd39c 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 */