r600g: upload translated indices via the uploader
[mesa.git] / src / gallium / drivers / llvmpipe / lp_bld_alpha.h
index f3fa8b605348bf95e3ecb664b81aed25b04bd4a2..06206a24d835d5a934965fd259f8f863c5f7bfee 100644 (file)
 #ifndef LP_BLD_ALPHA_H
 #define LP_BLD_ALPHA_H
 
+#include "pipe/p_compiler.h"
 
-#include <llvm-c/Core.h>  
+#include "gallivm/lp_bld.h"
 
 struct pipe_alpha_state;
-union lp_type;
+struct gallivm_state;
+struct lp_type;
+struct lp_build_mask_context;
 
 
-LLVMValueRef
-lp_build_alpha_test(LLVMBuilderRef builder,
-                    const struct pipe_alpha_state *state,
-                    union lp_type type,
+void
+lp_build_alpha_test(struct gallivm_state *gallivm,
+                    unsigned func,
+                    struct lp_type type,
+                    struct lp_build_mask_context *mask,
                     LLVMValueRef alpha,
-                    LLVMValueRef mask);
+                    LLVMValueRef ref,
+                    boolean do_branch);
 
 
 #endif /* !LP_BLD_ALPHA_H */