diff options
author | José Fonseca <[email protected]> | 2013-04-17 18:03:11 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2013-05-17 20:22:50 +0100 |
commit | 5aaa4bafe04e601c2e42da76447f2b9297dc3a93 (patch) | |
tree | f2956e361ea5f2140cc222572e4bd7a239f8960e /src/gallium/auxiliary/gallivm/lp_bld_arit.h | |
parent | e230d9debbd4c2e715f50059a02d502d90a626d7 (diff) |
gallivm: Add and use lp_build_lerp_3d.
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_arit.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_arit.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_arit.h b/src/gallium/auxiliary/gallivm/lp_bld_arit.h index 60b9907e60f..45886d5fd99 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_arit.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_arit.h @@ -106,6 +106,21 @@ lp_build_lerp_2d(struct lp_build_context *bld, LLVMValueRef v11); LLVMValueRef +lp_build_lerp_3d(struct lp_build_context *bld, + LLVMValueRef x, + LLVMValueRef y, + LLVMValueRef z, + LLVMValueRef v000, + LLVMValueRef v001, + LLVMValueRef v010, + LLVMValueRef v011, + LLVMValueRef v100, + LLVMValueRef v101, + LLVMValueRef v110, + LLVMValueRef v111); + + +LLVMValueRef lp_build_min(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b); |