llvmpipe: refactor generate_fragment() code
[mesa.git] / src / gallium / drivers / llvmpipe / lp_bld_logic.h
index a4ee7723b5fc8843db785a12752e7531c34bc39a..40d64eb2c1917c2089865224b7105e2f2b2c56f3 100644 (file)
 #include "pipe/p_defines.h" /* For PIPE_FUNC_xxx */
 
 
-struct lp_type type;
+struct lp_type;
 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
  */