Skip to content

Commit

Permalink
Match function signatures.
Browse files Browse the repository at this point in the history
Signed-off-by: Curtis Black <[email protected]>
  • Loading branch information
curtisblack committed Aug 26, 2024
1 parent 5742138 commit 369fcef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/liboslexec/llvm_gen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4082,7 +4082,7 @@ LLVMGEN(llvm_gen_pointcloud_write)
llvm::Value* args[] = {
rop.ll.void_ptr(names),
rop.ll.void_ptr(types),
values,
rop.ll.void_ptr(values),
rop.ll.constant(i),
rop.llvm_load_value(*namesym), // name[i]
rop.ll.constant(valsym->typespec().simpletype()), // type[i]
Expand All @@ -4098,7 +4098,7 @@ LLVMGEN(llvm_gen_pointcloud_write)
rop.ll.constant(nattrs), // number of attributes
rop.ll.void_ptr(names), // attribute names array
rop.ll.void_ptr(types), // attribute types array
values // attribute values array
rop.ll.void_ptr(values) // attribute values array
};
llvm::Value* ret = rop.ll.call_function("osl_pointcloud_write", args);
rop.llvm_store_value(ret, Result);
Expand Down

0 comments on commit 369fcef

Please sign in to comment.