projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
llvmpipe: fix blending with half-float formats
[mesa.git]
/
src
/
gallium
/
drivers
/
llvmpipe
/
lp_bld_alpha.h
diff --git
a/src/gallium/drivers/llvmpipe/lp_bld_alpha.h
b/src/gallium/drivers/llvmpipe/lp_bld_alpha.h
index 634575670db6778a0d0aeeecbd9150800e6d6be6..15f1284c5e1f5937f59b9a2e95935ca3048d406e 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_bld_alpha.h
+++ b/
src/gallium/drivers/llvmpipe/lp_bld_alpha.h
@@
-34,21
+34,26
@@
#ifndef LP_BLD_ALPHA_H
#define LP_BLD_ALPHA_H
#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;
struct pipe_alpha_state;
+struct util_format_description;
+struct gallivm_state;
struct lp_type;
struct lp_build_mask_context;
void
struct lp_type;
struct lp_build_mask_context;
void
-lp_build_alpha_test(
LLVMBuilderRef builder
,
-
const struct pipe_alpha_state *state
,
+lp_build_alpha_test(
struct gallivm_state *gallivm
,
+
unsigned func
,
struct lp_type type,
struct lp_type type,
+ const struct util_format_description *cbuf_format_desc,
struct lp_build_mask_context *mask,
LLVMValueRef alpha,
struct lp_build_mask_context *mask,
LLVMValueRef alpha,
- LLVMValueRef ref);
+ LLVMValueRef ref,
+ boolean do_branch);
#endif /* !LP_BLD_ALPHA_H */
#endif /* !LP_BLD_ALPHA_H */