mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 16:10:23 +01:00
gallivm: Don't hardcode number of args twice.
This commit is contained in:
parent
d044ecbe76
commit
de088c6ae4
1 changed files with 1 additions and 1 deletions
|
|
@ -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, "");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue