diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-08-17 07:57:28 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-08-29 09:21:33 +0100 |
commit | 09a7b011acb3957725bb7e1bc4125f0939a295e7 (patch) | |
tree | a64d1f702d45589a9406c23cdd4135c8013bdf5f /src/gallium/drivers/llvmpipe/lp_bld_logic.h | |
parent | 1aae039ee279f8ad300919d8af0fc4691ca2f514 (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.h | 13 |
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 */ |