Alternative Upload geometry data in parallel to multiple GPUs using the "Multi-Device" #107552

Open
William Leeson wants to merge 137 commits from leesonw/blender-cluster:upload_changed into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 3a566ccee4 - Show all commits

View File

@ -1433,7 +1433,7 @@ void OptiXDevice::build_bvh(BVH *bvh, DeviceScene *dscene, Progress &progress, b
continue;
}
BVHOptiX *const blas = static_cast<BVHOptiX *>(ob->get_geometry()->bvh);
BVHOptiX *const blas = static_cast<BVHOptiX *>(ob->get_geometry()->bvh->get_device_bvh(this));
OptixTraversableHandle handle = blas->traversable_handle;
if (handle == 0) {
continue;