r300g: fix texturing with negative lod bias
[mesa.git] / src / gallium / drivers / llvmpipe / lp_bld_alpha.h
index 962ea9fafab8de6cc0433de05982b9ad3dc5567c..0f99fec65eda520391d7165a3ceb73ae333c99d4 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,
+                    struct lp_type type,
                     struct lp_build_mask_context *mask,
-                    LLVMValueRef alpha);
+                    LLVMValueRef alpha,
+                    LLVMValueRef ref);
 
 
 #endif /* !LP_BLD_ALPHA_H */