diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-10-25 09:06:05 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-10-25 09:53:48 +0000 |
commit | abff4214ef870f26d5c64adac1235b9e9438a51e (patch) | |
tree | 2674522e5f3612333296ea1679f8e43c04d4564e /src/gallium/drivers/llvmpipe/lp_bld_format.h | |
parent | 8d80fd3f554cab2db962a903ce4eaba7c8fed7ac (diff) |
llvmpipe: Split the format swizzling step from the unpacking.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_format.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_bld_format.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_format.h b/src/gallium/drivers/llvmpipe/lp_bld_format.h index 42ee3c7d90..8b08c016c0 100644 --- a/src/gallium/drivers/llvmpipe/lp_bld_format.h +++ b/src/gallium/drivers/llvmpipe/lp_bld_format.h @@ -42,6 +42,13 @@ struct util_format_description; struct lp_type; +void +lp_build_format_swizzle_soa(const struct util_format_description *format_desc, + struct lp_type type, + const LLVMValueRef *unswizzled, + LLVMValueRef *swizzled); + + /** * Unpack a pixel into its RGBA components. * |