diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-08-12 02:34:55 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-08-29 09:21:30 +0100 |
commit | 1709ace359a2d513cf09de28bf372248f6103f6a (patch) | |
tree | e0015ddf3af5f2bb02fe61c95192a9318a33e5c8 /src/gallium/drivers/llvmpipe/lp_bld_arit.h | |
parent | 1929057eac0c3351e0810612bdae56331a235736 (diff) |
llvmpipe: Implement more arithmetic functions.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_arit.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_bld_arit.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_arit.h b/src/gallium/drivers/llvmpipe/lp_bld_arit.h index 2545d2cdfb..9f8fccb0d4 100644 --- a/src/gallium/drivers/llvmpipe/lp_bld_arit.h +++ b/src/gallium/drivers/llvmpipe/lp_bld_arit.h @@ -110,4 +110,20 @@ lp_build_pow(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b); +LLVMValueRef +lp_build_exp(struct lp_build_context *bld, + LLVMValueRef a); + +LLVMValueRef +lp_build_log(struct lp_build_context *bld, + LLVMValueRef a); + +LLVMValueRef +lp_build_exp2(struct lp_build_context *bld, + LLVMValueRef a); + +LLVMValueRef +lp_build_log2(struct lp_build_context *bld, + LLVMValueRef a); + #endif /* !LP_BLD_ARIT_H */ |