diff options
author | Patrick Mours <pmours@nvidia.com> | 2021-01-20 16:12:43 +0300 |
---|---|---|
committer | Patrick Mours <pmours@nvidia.com> | 2021-01-20 16:40:27 +0300 |
commit | 4a09907eab2a3b6da53b1942aebefdcf58bbd604 (patch) | |
tree | a0228e3d1130b01046bb4d04976203a4c2ba0d45 /intern/cycles/render/session.h | |
parent | 87db3423c98ea5d11a6bdbef6658b67970023a4e (diff) |
Fix T84049: Crash when using Cycles Progressive Refine with OptiX+CPU
Tile stealing may steal a CPU tile buffer and move it to the GPU, but next time around that
tile may be re-used on the CPU again (in progressive refinement mode). The buffer would
still be on the GPU then though, so is inaccessible to the CPU. As a result Blender crashed
when the CPU tried to write results to that tile buffer.
This fixes that by ensuring a stolen tile buffer is moved back to the device it is used on before
rendering.
Diffstat (limited to 'intern/cycles/render/session.h')
0 files changed, 0 insertions, 0 deletions