diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-04-06 22:49:33 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-04-06 22:52:33 +0100 |
commit | 728741a3bd27a3aaab50393665d25776ad06fcb3 (patch) | |
tree | cf871d744a2a1af47abe987af0e44f144b2e2a15 /src/gallium/auxiliary/gallivm/lp_bld_format.h | |
parent | 306835cc0fbdd7bf46b8c703f6659d1431f86ff9 (diff) | |
download | external_mesa3d-728741a3bd27a3aaab50393665d25776ad06fcb3.zip external_mesa3d-728741a3bd27a3aaab50393665d25776ad06fcb3.tar.gz external_mesa3d-728741a3bd27a3aaab50393665d25776ad06fcb3.tar.bz2 |
gallivm: Fallback to calling util_format_description::fetch_float for any format we can't code LLVM IR directly.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_format.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_format.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_format.h b/src/gallium/auxiliary/gallivm/lp_bld_format.h index 73ab6de..bb1298e 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_format.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_format.h @@ -80,4 +80,15 @@ lp_build_unpack_rgba_soa(LLVMBuilderRef builder, LLVMValueRef *rgba); +void +lp_build_fetch_rgba_soa(LLVMBuilderRef builder, + const struct util_format_description *format_desc, + struct lp_type type, + LLVMValueRef base_ptr, + LLVMValueRef offsets, + LLVMValueRef i, + LLVMValueRef j, + LLVMValueRef *rgba); + + #endif /* !LP_BLD_FORMAT_H */ |