Page MenuHome

Cycles: Enable MNEE on Metal (macOS >= 13)
ClosedPublic

Authored by Michael Jones (michael_jones) on Oct 12 2022, 2:13 PM.

Details

Summary

This patch enables MNEE on macOS >= 13. There was an inefficiency in the calculation of spill requirements, fixed as of macOS 13. This patch also adds a temporary inlining workaround for a Metal compiler bug which causes mnee_compute_constraint_derivatives to behave incorrectly.

Diff Detail

Repository
rB Blender

Event Timeline

Michael Jones (michael_jones) requested review of this revision.Oct 12 2022, 2:13 PM
Michael Jones (michael_jones) created this revision.

Looks good to me, assuming you leave out the change to the test blacklist.

tests/python/cycles_render_tests.py
36–37

We can't remove this until the buildbot upgrades to macOS 13, otherwise tests will fail.

This revision is now accepted and ready to land.Oct 12 2022, 5:59 PM
  • Re-add the underwater_caustics / MNEE test until the buildbot upgrades to macOS 13.
Michael Jones (michael_jones) marked an inline comment as done.Oct 12 2022, 6:06 PM