From 4393ca7956bd03e07b4d7a019705fc62d4ac7155 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Tue, 11 Aug 2009 13:09:54 +0100 Subject: llvmpipe: Scalar -> vector broadcasting. --- src/gallium/drivers/llvmpipe/lp_bld_swizzle.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gallium/drivers/llvmpipe/lp_bld_swizzle.h') diff --git a/src/gallium/drivers/llvmpipe/lp_bld_swizzle.h b/src/gallium/drivers/llvmpipe/lp_bld_swizzle.h index aeb4f42fa8..dede675e58 100644 --- a/src/gallium/drivers/llvmpipe/lp_bld_swizzle.h +++ b/src/gallium/drivers/llvmpipe/lp_bld_swizzle.h @@ -44,6 +44,11 @@ union lp_type type; struct lp_build_context; +LLVMValueRef +lp_build_broadcast_scalar(struct lp_build_context *bld, + LLVMValueRef scalar); + + /** * Broadcast one channel of a vector composed of arrays of XYZW structures into * all four channel. -- cgit v1.2.3