summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_bld_swizzle.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-08-11 13:09:54 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:29 +0100
commit4393ca7956bd03e07b4d7a019705fc62d4ac7155 (patch)
tree0427cf5d3b6141966e887e50254f904da96de134 /src/gallium/drivers/llvmpipe/lp_bld_swizzle.h
parent8422f293ab7bf1ff1adf105ed3240b1627538d34 (diff)
llvmpipe: Scalar -> vector broadcasting.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_swizzle.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_swizzle.h5
1 files changed, 5 insertions, 0 deletions
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.