radeonsi: don't lower indirect IO in GLSL
[mesa.git] / src / gallium / auxiliary / gallivm / lp_bld_logic.h
index ef33a65368242a74d6bf793587ac119900020d30..b8bbfb2bf13401c965e829ae32cb6ae981d7766e 100644 (file)
@@ -36,6 +36,9 @@
 #ifndef LP_BLD_LOGIC_H
 #define LP_BLD_LOGIC_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 #include "gallivm/lp_bld.h"
 
@@ -63,6 +66,12 @@ 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,
@@ -79,7 +88,17 @@ LLVMValueRef
 lp_build_select_aos(struct lp_build_context *bld,
                     unsigned mask,
                     LLVMValueRef a,
-                    LLVMValueRef b);
+                    LLVMValueRef b,
+                    unsigned num_channels);
+
+
+LLVMValueRef
+lp_build_any_true_range(struct lp_build_context *bld,
+                        unsigned real_length,
+                        LLVMValueRef val);
 
+#ifdef __cplusplus
+}
+#endif
 
 #endif /* !LP_BLD_LOGIC_H */