gallivm: Use const keyword on swizzles.

This commit is contained in:
José Fonseca 2010-09-10 16:37:11 +01:00
parent 697fdf3fff
commit 74f6edaee4
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,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,

View File

@ -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,