projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d044ecb
)
gallivm: Don't hardcode number of args twice.
author
José Fonseca
<jfonseca@vmware.com>
Sat, 8 May 2010 18:26:55 +0000
(19:26 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Sat, 8 May 2010 22:29:05 +0000
(23:29 +0100)
src/gallium/auxiliary/gallivm/lp_bld_format_aos.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c
b/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c
index 6257e9a4047cf5de7bc3026e4253c43e71585054..f1390859fa5d55a5a4aadb109a22d7ac3d033524 100644
(file)
--- 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, "");
}