Fix build failure after recent HIP-RT change
Fixes build failure after 6b848a9993
Pull Request: https://projects.blender.org/blender/blender/pulls/125936
This commit is contained in:
@@ -889,7 +889,7 @@ hiprtScene HIPRTDevice::build_tlas(BVHHIPRT *bvh,
|
||||
int time_offset = bvh->prims_time.size();
|
||||
prim_time_map[geom] = time_offset;
|
||||
|
||||
bvh.prims_time.resize(time_offset + current_bvh->prims_time.size());
|
||||
bvh->prims_time.resize(time_offset + current_bvh->prims_time.size());
|
||||
memcpy(bvh->prims_time.data() + time_offset,
|
||||
current_bvh->prims_time.data(),
|
||||
current_bvh->prims_time.size() * sizeof(float2));
|
||||
|
||||
Reference in New Issue
Block a user