mirror of
https://github.com/blender/blender
synced 2026-11-22 03:45:13 +03:00
Perform delayed freeing of the geometry BVHs similar to OptiX. Previously BLAS memory was allocated in the device class as part of device_update, but released in the BVHHIPRT destructor which gets called when deleting geometry outside of device_update. To avoid the GPU accessing unmapped memory, do a delayed free of this memory in the device class as part of either device_update or device destruction. This ensures it is in sync with other device memory changes. Fix #148276 Fix #139013 Fix #138043 Fix #140763 Pull Request: https://projects.blender.org/blender/blender/pulls/147247 |
||
|---|---|---|
| .. | ||
| device_impl.cpp | ||
| device_impl.h | ||
| queue.cpp | ||
| queue.h | ||