Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/types.h
| Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Lines | |||||
| # define __OSL__ | # define __OSL__ | ||||
| # endif | # endif | ||||
| # ifdef WITH_PATH_GUIDING | # ifdef WITH_PATH_GUIDING | ||||
| # define __PATH_GUIDING__ | # define __PATH_GUIDING__ | ||||
| # endif | # endif | ||||
| # define __VOLUME_RECORD_ALL__ | # define __VOLUME_RECORD_ALL__ | ||||
| #endif /* !__KERNEL_GPU__ */ | #endif /* !__KERNEL_GPU__ */ | ||||
| /* MNEE currently causes "Compute function exceeds available temporary registers" | /* MNEE caused "Compute function exceeds available temporary registers" in macOS < 13 due to a bug | ||||
| * on Metal, disabled for now. */ | * in spill buffer allocation sizing. */ | ||||
| #ifndef __KERNEL_METAL__ | #if !defined(__KERNEL_METAL__) || (__KERNEL_METAL_MACOS__ >= 13) | ||||
| # define __MNEE__ | # define __MNEE__ | ||||
| #endif | #endif | ||||
| /* Scene-based selective features compilation. */ | /* Scene-based selective features compilation. */ | ||||
| #ifdef __KERNEL_FEATURES__ | #ifdef __KERNEL_FEATURES__ | ||||
| # if !(__KERNEL_FEATURES & KERNEL_FEATURE_OBJECT_MOTION) | # if !(__KERNEL_FEATURES & KERNEL_FEATURE_OBJECT_MOTION) | ||||
| # undef __OBJECT_MOTION__ | # undef __OBJECT_MOTION__ | ||||
| # endif | # endif | ||||
| ▲ Show 20 Lines • Show All 1,470 Lines • Show Last 20 Lines | |||||