diff options
author | José Fonseca <[email protected]> | 2010-05-08 19:26:55 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-05-08 23:29:05 +0100 |
commit | de088c6ae44f78d0afa3970cbaf40cdfc21d8fd9 (patch) | |
tree | 1e9ec5f4dce48c7679f29fb4f39e8875594a63f6 /src | |
parent | d044ecbe7625af1118655bcc9dba7ed00342534f (diff) |
gallivm: Don't hardcode number of args twice.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_format_aos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c b/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c index 6257e9a4047..f1390859fa5 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c @@ -384,7 +384,7 @@ lp_build_fetch_rgba_aos(LLVMBuilderRef builder, args[2] = i; args[3] = j; - LLVMBuildCall(builder, function, args, 4, ""); + LLVMBuildCall(builder, function, args, Elements(args), ""); return LLVMBuildLoad(builder, tmp, ""); } |