summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/gallivm/lp_bld_swizzle.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-07-01 12:16:09 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-07-01 15:02:12 +0100
commita70ec096aaece3aaadc1a8307e32554f7ad4d082 (patch)
tree7731a5e3f476c6bcf39ba5e01c0bb42fe5eab175 /src/gallium/auxiliary/gallivm/lp_bld_swizzle.h
parente277d5c1f6b2c5a6d202561e67d2b6821a69ecc4 (diff)
gallivm: Support extended swizzles in lp_build_swizzle1_aos().
And rename to lp_build_swizzle_aos().
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_swizzle.h')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_swizzle.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_swizzle.h b/src/gallium/auxiliary/gallivm/lp_bld_swizzle.h
index 509e97c0ae..315e1bcb54 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_swizzle.h
+++ b/src/gallium/auxiliary/gallivm/lp_bld_swizzle.h
@@ -68,12 +68,12 @@ lp_build_broadcast_aos(struct lp_build_context *bld,
/**
* Swizzle a vector consisting of an array of XYZW structs.
*
- * @param swizzle is the in [0,4[ range.
+ * @param swizzles is the in [0,4[ range.
*/
LLVMValueRef
-lp_build_swizzle1_aos(struct lp_build_context *bld,
- LLVMValueRef a,
- const unsigned char swizzle[4]);
+lp_build_swizzle_aos(struct lp_build_context *bld,
+ LLVMValueRef a,
+ const unsigned char swizzles[4]);
LLVMValueRef