Merge branch 'blender-v2.82-release'
This commit is contained in:
commit
2a638e8c90
|
@ -1432,6 +1432,8 @@ class OptiXDevice : public Device {
|
|||
size_t motion_transform_size = sizeof(OptixSRTMotionTransform) +
|
||||
motion_keys * sizeof(OptixSRTData);
|
||||
|
||||
const CUDAContextScope scope(cuda_context);
|
||||
|
||||
CUdeviceptr motion_transform_gpu = 0;
|
||||
check_result_cuda_ret(cuMemAlloc(&motion_transform_gpu, motion_transform_size));
|
||||
as_mem.push_back(motion_transform_gpu);
|
||||
|
|
Loading…
Reference in New Issue