diff options
author | James Horsley <mmdanggg2> | 2021-01-27 16:04:37 +0300 |
---|---|---|
committer | Patrick Mours <pmours@nvidia.com> | 2021-01-27 17:27:57 +0300 |
commit | 4fbeb3e6be3ed03e55ebd8a9d41c80c2a4f08815 (patch) | |
tree | fb15dbd75178806d3684f30690fd9a7a5bd1e300 /source/blender/blentranslation | |
parent | cd24712c2c51ab753369f7cae8c43c38115bd59f (diff) |
Fix T85089: Crash when rendering scene that does not fit into GPU memory with CUDA/OptiX
The "cuda_mem_map_mutex" was potentially being locked recursively during the call to
"CUDADevice::move_textures_to_host", which crashed. This moves around the locking and
unlocking of "cuda_mem_map_mutex", so that it doesn't call a function that locks it while
still holding the lock.
Reviewed By: pmoursnv
Maniphest Tasks: T85089, T84734
Differential Revision: https://developer.blender.org/D10219
Diffstat (limited to 'source/blender/blentranslation')
0 files changed, 0 insertions, 0 deletions