Before, Cycles was using a shared Embree device across all instances.
This could result in crashes when viewport rendering and material
preview were using Cycles simultaneously.
Fixes issue T80042
Differential D8772
Cycles: Separate Embree device for each CPU Device. Authored by Stefan Werner (swerner) on Sep 1 2020, 2:50 PM.
Details
Before, Cycles was using a shared Embree device across all instances. Fixes issue T80042
Diff Detail
Event TimelineComment Actions The addition of Device::bvh_device() could be short lived - I would like to eventually postpone the Embree BVH build until after geometry has been synced to the device (similar to OptiX), that way Embree can share Cycles' vertex and index arrays instead of creating separate copies. Comment Actions From reading code and descriptions seems fine. Please remember to run regression tests prior to commit :) |