summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_bld_logic.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-08-17 07:57:28 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:33 +0100
commit09a7b011acb3957725bb7e1bc4125f0939a295e7 (patch)
treea64d1f702d45589a9406c23cdd4135c8013bdf5f /src/gallium/drivers/llvmpipe/lp_bld_logic.h
parent1aae039ee279f8ad300919d8af0fc4691ca2f514 (diff)
llvmpipe: Move lp_build_select to lp_bld_logic.[ch].
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_logic.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_logic.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_logic.h b/src/gallium/drivers/llvmpipe/lp_bld_logic.h
index a8c10d670a..0989f9f207 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_logic.h
+++ b/src/gallium/drivers/llvmpipe/lp_bld_logic.h
@@ -54,4 +54,17 @@ lp_build_cmp(struct lp_build_context *bld,
LLVMValueRef b);
+LLVMValueRef
+lp_build_select(struct lp_build_context *bld,
+ LLVMValueRef mask,
+ LLVMValueRef a,
+ LLVMValueRef b);
+
+LLVMValueRef
+lp_build_select_aos(struct lp_build_context *bld,
+ LLVMValueRef a,
+ LLVMValueRef b,
+ boolean cond[4]);
+
+
#endif /* !LP_BLD_LOGIC_H */