diff options
Diffstat (limited to 'intern/cycles/util/types_uchar4.h')
-rw-r--r-- | intern/cycles/util/types_uchar4.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/util/types_uchar4.h b/intern/cycles/util/types_uchar4.h index 2ac4fb56cbb..a2a2c945aaa 100644 --- a/intern/cycles/util/types_uchar4.h +++ b/intern/cycles/util/types_uchar4.h @@ -10,7 +10,7 @@ CCL_NAMESPACE_BEGIN -#ifndef __KERNEL_GPU__ +#if !defined(__KERNEL_GPU__) || defined(__KERNEL_ONEAPI__) struct uchar4 { uchar x, y, z, w; @@ -19,7 +19,7 @@ struct uchar4 { }; ccl_device_inline uchar4 make_uchar4(uchar x, uchar y, uchar z, uchar w); -#endif /* __KERNEL_GPU__ */ +#endif /* !defined(__KERNEL_GPU__) || defined(__KERNEL_ONEAPI__) */ CCL_NAMESPACE_END |