Merge branch 'blender-v2.92-release'
This commit is contained in:
commit
f4d07196bd
|
@ -541,8 +541,12 @@ bool Session::acquire_tile(RenderTile &rtile, Device *tile_device, uint tile_typ
|
|||
tile->buffers->reset(buffer_params);
|
||||
}
|
||||
else if (tile->buffers->buffer.device != tile_device) {
|
||||
/* Move buffer to current tile device again in case it was stolen before. */
|
||||
tile->buffers->buffer.move_device(tile_device);
|
||||
/* Move buffer to current tile device again in case it was stolen before.
|
||||
* Not needed for denoising since that already handles mapping of tiles and
|
||||
* neighbors to its own device. */
|
||||
if (rtile.task != RenderTile::DENOISE) {
|
||||
tile->buffers->buffer.move_device(tile_device);
|
||||
}
|
||||
}
|
||||
|
||||
tile->buffers->map_neighbor_copied = false;
|
||||
|
|
Loading…
Reference in New Issue