st/dri: Allow gallium drivers to turn off two GLX extensions
[mesa.git] / src / gallium / auxiliary / gallivm / lp_bld_logic.h
index 00a8c750196d0a62c246fb16ab32acbba3a49f67..00fb0268dd60d2a9308e944d0c99eee21b159b53 100644 (file)
@@ -47,7 +47,7 @@ struct lp_build_context;
 
 
 LLVMValueRef
-lp_build_compare(LLVMBuilderRef builder,
+lp_build_compare(struct gallivm_state *gallivm,
                  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
+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,
@@ -72,16 +83,15 @@ lp_build_select(struct lp_build_context *bld,
 
 LLVMValueRef
 lp_build_select_aos(struct lp_build_context *bld,
+                    unsigned mask,
                     LLVMValueRef a,
                     LLVMValueRef b,
-                    const boolean cond[4]);
-
-LLVMValueRef
-lp_build_alloca(struct lp_build_context *bld);
+                    unsigned num_channels);
 
 
 LLVMValueRef
-lp_build_andc(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b);
-
+lp_build_any_true_range(struct lp_build_context *bld,
+                        unsigned real_length,
+                        LLVMValueRef val);
 
 #endif /* !LP_BLD_LOGIC_H */