summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-09-10 16:37:11 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-09-11 13:31:35 +0100
commit74f6edaee46505935b21e1d34f621b4aaf52fd35 (patch)
treedb3bbe1b462a31c4bfe447c23a7225c57595208d /src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
parent697fdf3fff98943c44bc67f6c6cc17f6334724dd (diff)
gallivm: Use const keyword on swizzles.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
index c8812662fe..9d13007c7a 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
@@ -1043,7 +1043,7 @@ void
lp_build_tgsi_aos(LLVMBuilderRef builder,
const struct tgsi_token *tokens,
struct lp_type type,
- unsigned char swizzles[4],
+ const unsigned char swizzles[4],
LLVMValueRef consts_ptr,
const LLVMValueRef *inputs,
LLVMValueRef *outputs,