Skip to content

Commit

Permalink
Call the bvh function for the bvh
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Sep 16, 2024
1 parent 9e1e2e1 commit b30d02d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/integrations/kope.c
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ void kope_export(char *directory, api_kind api) {
other_index += 1;
break;
case DEFINITION_BVH:
fprintf(output, "\tkope_d3d12_descriptor_set_set_buffer_view_srv(device, &set->set, parameters->%s, %" PRIu64 ");\n",
fprintf(output, "\tkope_d3d12_descriptor_set_set_bvh_view_srv(device, &set->set, parameters->%s, %" PRIu64 ");\n",
get_name(get_global(d.global)->name), other_index);
fprintf(output, "\tset->%s = parameters->%s;\n", get_name(get_global(d.global)->name), get_name(get_global(d.global)->name));
other_index += 1;
Expand Down

0 comments on commit b30d02d

Please sign in to comment.