projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
llvmpipe: refactor generate_fragment() code
[mesa.git]
/
src
/
gallium
/
drivers
/
llvmpipe
/
lp_bld_logic.h
diff --git
a/src/gallium/drivers/llvmpipe/lp_bld_logic.h
b/src/gallium/drivers/llvmpipe/lp_bld_logic.h
index a4ee7723b5fc8843db785a12752e7531c34bc39a..40d64eb2c1917c2089865224b7105e2f2b2c56f3 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_bld_logic.h
+++ b/
src/gallium/drivers/llvmpipe/lp_bld_logic.h
@@
-42,10
+42,18
@@
#include "pipe/p_defines.h" /* For PIPE_FUNC_xxx */
#include "pipe/p_defines.h" /* For PIPE_FUNC_xxx */
-struct lp_type
type
;
+struct lp_type;
struct lp_build_context;
struct lp_build_context;
+LLVMValueRef
+lp_build_compare(LLVMBuilderRef builder,
+ const struct lp_type type,
+ unsigned func,
+ LLVMValueRef a,
+ LLVMValueRef b);
+
+
/**
* @param func is one of PIPE_FUNC_xxx
*/
/**
* @param func is one of PIPE_FUNC_xxx
*/