projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
st/dri: Allow gallium drivers to turn off two GLX extensions
[mesa.git]
/
src
/
gallium
/
auxiliary
/
gallivm
/
lp_bld_logic.h
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_logic.h
b/src/gallium/auxiliary/gallivm/lp_bld_logic.h
index b54ec13b7018fd8600655722bd8daf56a2e6ff1d..00fb0268dd60d2a9308e944d0c99eee21b159b53 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_logic.h
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_logic.h
@@
-37,7
+37,7
@@
#define LP_BLD_LOGIC_H
#define LP_BLD_LOGIC_H
-#include "
os/os_llvm
.h"
+#include "
gallivm/lp_bld
.h"
#include "pipe/p_defines.h" /* For PIPE_FUNC_xxx */
#include "pipe/p_defines.h" /* For PIPE_FUNC_xxx */
@@
-47,7
+47,7
@@
struct lp_build_context;
LLVMValueRef
LLVMValueRef
-lp_build_compare(
LLVMBuilderRef builder
,
+lp_build_compare(
struct gallivm_state *gallivm
,
const struct lp_type type,
unsigned func,
LLVMValueRef a,
const struct lp_type type,
unsigned func,
LLVMValueRef a,
@@
-63,6
+63,17
@@
lp_build_cmp(struct lp_build_context *bld,
LLVMValueRef a,
LLVMValueRef b);
LLVMValueRef a,
LLVMValueRef b);
+LLVMValueRef
+lp_build_cmp_ordered(struct lp_build_context *bld,
+ unsigned func,
+ LLVMValueRef a,
+ LLVMValueRef b);
+
+LLVMValueRef
+lp_build_select_bitwise(struct lp_build_context *bld,
+ LLVMValueRef mask,
+ LLVMValueRef a,
+ LLVMValueRef b);
LLVMValueRef
lp_build_select(struct lp_build_context *bld,
LLVMValueRef
lp_build_select(struct lp_build_context *bld,
@@
-72,11
+83,15
@@
lp_build_select(struct lp_build_context *bld,
LLVMValueRef
lp_build_select_aos(struct lp_build_context *bld,
LLVMValueRef
lp_build_select_aos(struct lp_build_context *bld,
+ unsigned mask,
LLVMValueRef a,
LLVMValueRef b,
LLVMValueRef a,
LLVMValueRef b,
- const boolean cond[4]);
+ unsigned num_channels);
+
LLVMValueRef
LLVMValueRef
-lp_build_alloca(struct lp_build_context *bld);
+lp_build_any_true_range(struct lp_build_context *bld,
+ unsigned real_length,
+ LLVMValueRef val);
#endif /* !LP_BLD_LOGIC_H */
#endif /* !LP_BLD_LOGIC_H */