Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/types.h
| Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | |||||
| #define __SHADOW_CATCHER__ | #define __SHADOW_CATCHER__ | ||||
| #define __SHADOW_RECORD_ALL__ | #define __SHADOW_RECORD_ALL__ | ||||
| #define __SUBSURFACE__ | #define __SUBSURFACE__ | ||||
| #define __SVM__ | #define __SVM__ | ||||
| #define __TRANSPARENT_SHADOWS__ | #define __TRANSPARENT_SHADOWS__ | ||||
| #define __VISIBILITY_FLAG__ | #define __VISIBILITY_FLAG__ | ||||
| #define __VOLUME__ | #define __VOLUME__ | ||||
| /* TODO: solve internal compiler errors and enable light tree on HIP. */ | |||||
| #ifdef __KERNEL_HIP__ | |||||
| # undef __LIGHT_TREE__ | |||||
| #endif | |||||
| /* Device specific features */ | /* Device specific features */ | ||||
| #ifdef WITH_OSL | #ifdef WITH_OSL | ||||
| # define __OSL__ | # define __OSL__ | ||||
| # ifdef __KERNEL_OPTIX__ | # ifdef __KERNEL_OPTIX__ | ||||
| /* Kernels with OSL support are built separately in OptiX and don't need SVM. */ | /* Kernels with OSL support are built separately in OptiX and don't need SVM. */ | ||||
| # undef __SVM__ | # undef __SVM__ | ||||
| # endif | # endif | ||||
| #endif | #endif | ||||
| ▲ Show 20 Lines • Show All 1,567 Lines • Show Last 20 Lines | |||||