diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-07-02 18:36:43 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-07-02 18:45:49 +0100 |
commit | 7071eefdb2ef2a1f644a2bbed9685847b60ff6c4 (patch) | |
tree | ce39754bf855fbbe995acc435b545672fb99dbb5 /src/gallium/auxiliary/gallivm/lp_bld_format.h | |
parent | eb20c57f03f7f6a43dedb9c317f3648087e6d1d7 (diff) | |
download | external_mesa3d-7071eefdb2ef2a1f644a2bbed9685847b60ff6c4.zip external_mesa3d-7071eefdb2ef2a1f644a2bbed9685847b60ff6c4.tar.gz external_mesa3d-7071eefdb2ef2a1f644a2bbed9685847b60ff6c4.tar.bz2 |
gallivm: Support multiple pixels in lp_build_fetch_rgba_aos().
This allows to do the unpacking of formats that fit in 4 x unorm8 in
parallel, 4 pixels at a time.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_format.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_format.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_format.h b/src/gallium/auxiliary/gallivm/lp_bld_format.h index 9056eae..60e22d7 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_format.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_format.h @@ -61,7 +61,8 @@ LLVMValueRef lp_build_fetch_rgba_aos(LLVMBuilderRef builder, const struct util_format_description *format_desc, struct lp_type type, - LLVMValueRef ptr, + LLVMValueRef base_ptr, + LLVMValueRef offset, LLVMValueRef i, LLVMValueRef j); @@ -105,11 +106,12 @@ lp_build_fetch_rgba_soa(LLVMBuilderRef builder, LLVMValueRef -lp_build_unpack_subsampled_to_rgba_aos(LLVMBuilderRef builder, - const struct util_format_description *format_desc, - unsigned n, - LLVMValueRef packed, - LLVMValueRef i, - LLVMValueRef j); +lp_build_fetch_subsampled_rgba_aos(LLVMBuilderRef builder, + const struct util_format_description *format_desc, + unsigned n, + LLVMValueRef base_ptr, + LLVMValueRef offset, + LLVMValueRef i, + LLVMValueRef j); #endif /* !LP_BLD_FORMAT_H */ |