Page MenuHome

Update Embree to 3.13.4
ClosedPublic

Authored by Jason Fielder (jason_apple) on Jul 18 2022, 11:13 AM.

Details

Summary

Embree 3.13.4 allows Apple Silicon machines to use 8-wide BVH.

From embree release notes "Using 8-wide BVH and double pumped NEON instructions on Apple M1 gives 8% performance boost.”

Diff Detail

Repository
rB Blender
Branch
apple/update_embree_3.13.4 (branched from master)
Build Status
Buildable 23041
Build 23041: arc lint + arc unit

Event Timeline

Jason Fielder (jason_apple) requested review of this revision.Jul 18 2022, 11:13 AM
Jason Fielder (jason_apple) created this revision.
Thomas Dinges (dingto) requested changes to this revision.Jul 18 2022, 1:55 PM
Thomas Dinges (dingto) added inline comments.
intern/cycles/bvh/params.h
132

This is just a default initialization for BVHParams(), enabling / disabling this is actually a UI setting. (Performance -> Acceleration Structure panel). Since this was recently disabled per default (rB5f09440d5a6ca914651700c31cd8873fe4e496d0), it can just be changed to false here to match the UI default, but no need for the extra define.

This revision now requires changes to proceed.Jul 18 2022, 1:55 PM
  • disable Embree non-compact structures by default
Jason Fielder (jason_apple) marked an inline comment as done.Jul 18 2022, 2:02 PM

Thanks for the quick update. Will leave the remaining part of the review to Brecht.

This revision is now accepted and ready to land.Jul 18 2022, 2:02 PM

I'll combine this with the Windows changes from D15286: Cycles: Integration of path guiding using Intel's Open Path Guiding Library (Open PGL) and commit. I think I can also simplify the Embree patch.