gallivm/llvmpipe: squash merge of the llvm-context branch
[mesa.git] / src / gallium / drivers / llvmpipe / lp_bld_alpha.h
index 9dbcdb4daabe826f07384ff62ac2191444f92175..5c9392504f1c349c93fcaab0cf5adf728c48268b 100644 (file)
 #define LP_BLD_ALPHA_H
 
 
-#include <llvm-c/Core.h>  
+#include "gallivm/lp_bld.h"
 
 struct pipe_alpha_state;
-union lp_type;
+struct lp_type;
 struct lp_build_mask_context;
 
 
 void
-lp_build_alpha_test(LLVMBuilderRef builder,
-                    const struct pipe_alpha_state *state,
-                    union lp_type type,
+lp_build_alpha_test(struct gallivm_state *gallivm,
+                    unsigned func,
+                    struct lp_type type,
                     struct lp_build_mask_context *mask,
                     LLVMValueRef alpha,
-                    LLVMValueRef ref);
+                    LLVMValueRef ref,
+                    boolean do_branch);
 
 
 #endif /* !LP_BLD_ALPHA_H */