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

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.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D16235
This commit is contained in:
2022-10-12 17:06:06 +01:00
parent d586f8962d
commit ba67a383fa
4 changed files with 17 additions and 5 deletions

View File

@@ -33,7 +33,7 @@ BLACKLIST_OPTIX = [
]
BLACKLIST_METAL = [
# No MNEE for Metal currently
# MNEE only works on Metal with macOS >= 13
"underwater_caustics.blend",
]