Blender Git Loki
Git Commits -> Revision 64003fa
Revision 64003fa by Michael Jones (master) November 16, 2021, 13:42 (GMT) |
Cycles: Adapt volumetric lambda functions to work on MSL This patch adapts the existing volumetric read/write lambda functions for Metal. Lambda expressions are not supported on MSL, so two new macros `VOLUME_READ_LAMBDA` and `VOLUME_WRITE_LAMBDA` have been defined with a default implementation which, on Metal, is overridden to use inline function objects. This patch also removes the last remaining mention of the now-unused `ccl_addr_space`. Ref T92212 Reviewed By: leesonw Maniphest Tasks: T92212 Differential Revision: https://developer.blender.org/D13234 |
Commit Details:
Full Hash: 64003fa4b0b1699998a5b048d980eb775d547d8d
Parent Commit: 85ac9b8
Committed By: Michael Jones
Lines Changed: +47, -31