Fix T52125: principled BSDF missing with macOS OpenCL.
This commit is contained in:
@@ -130,6 +130,7 @@ CCL_NAMESPACE_BEGIN
|
||||
# ifdef __KERNEL_OPENCL_APPLE__
|
||||
# define __KERNEL_SHADING__
|
||||
# define __KERNEL_ADV_SHADING__
|
||||
# define __PRINCIPLED__
|
||||
# define __CMJ__
|
||||
/* TODO(sergey): Currently experimental section is ignored here,
|
||||
* this is because megakernel in device_opencl does not support
|
||||
@@ -154,6 +155,7 @@ CCL_NAMESPACE_BEGIN
|
||||
# define __CL_USE_NATIVE__
|
||||
# define __KERNEL_SHADING__
|
||||
# define __KERNEL_ADV_SHADING__
|
||||
# define __PRINCIPLED__
|
||||
# define __CMJ__
|
||||
# endif /* __KERNEL_OPENCL_INTEL_CPU__ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user