| 29 | } |
| 30 | |
| 31 | bool device_kernel_has_intersection(DeviceKernel kernel) |
| 32 | { |
| 33 | return (kernel == DEVICE_KERNEL_INTEGRATOR_INTERSECT_CLOSEST || |
| 34 | kernel == DEVICE_KERNEL_INTEGRATOR_INTERSECT_SHADOW || |
| 35 | kernel == DEVICE_KERNEL_INTEGRATOR_INTERSECT_SUBSURFACE || |
| 36 | kernel == DEVICE_KERNEL_INTEGRATOR_INTERSECT_VOLUME_STACK || |
| 37 | kernel == DEVICE_KERNEL_INTEGRATOR_INTERSECT_DEDICATED_LIGHT || |
| 38 | kernel == DEVICE_KERNEL_INTEGRATOR_SHADE_SURFACE_RAYTRACE || |
| 39 | kernel == DEVICE_KERNEL_INTEGRATOR_SHADE_SURFACE_MNEE); |
| 40 | } |
| 41 | |
| 42 | const char *device_kernel_as_string(DeviceKernel kernel) |
| 43 | { |
no outgoing calls
no test coverage detected