diff options
author | José Fonseca <[email protected]> | 2010-10-06 14:06:14 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-10-06 18:46:29 +0100 |
commit | 4648846bd6c376877f024ccf300ceac5b0b3dcd6 (patch) | |
tree | 46bab37d4f04b5ff498de00495db0684f7b5338c /src/gallium/auxiliary/gallivm/lp_bld_arit.h | |
parent | df3505b19341424a605be703a27f50ea585ad71f (diff) |
gallivm: Use a faster (and less accurate) log2 in lod computation.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_arit.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_arit.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_arit.h b/src/gallium/auxiliary/gallivm/lp_bld_arit.h index 31efa9921ce..3ed4fec2333 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_arit.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_arit.h @@ -212,6 +212,11 @@ LLVMValueRef lp_build_log2(struct lp_build_context *bld, LLVMValueRef a); +LLVMValueRef +lp_build_fast_log2(struct lp_build_context *bld, + LLVMValueRef a); + + void lp_build_exp2_approx(struct lp_build_context *bld, LLVMValueRef x, |