X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fllvmpipe%2Flp_bld_alpha.h;h=06206a24d835d5a934965fd259f8f863c5f7bfee;hb=48e191f90cbb7735cadf30c444e1fb599311c55a;hp=9dbcdb4daabe826f07384ff62ac2191444f92175;hpb=6c6fe0a7040cb7355abefcd6621b67d0458311ae;p=mesa.git diff --git a/src/gallium/drivers/llvmpipe/lp_bld_alpha.h b/src/gallium/drivers/llvmpipe/lp_bld_alpha.h index 9dbcdb4daab..06206a24d83 100644 --- a/src/gallium/drivers/llvmpipe/lp_bld_alpha.h +++ b/src/gallium/drivers/llvmpipe/lp_bld_alpha.h @@ -34,21 +34,24 @@ #ifndef LP_BLD_ALPHA_H #define LP_BLD_ALPHA_H +#include "pipe/p_compiler.h" -#include +#include "gallivm/lp_bld.h" struct pipe_alpha_state; -union lp_type; +struct gallivm_state; +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 */