diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-05-24 18:23:54 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-05-24 18:23:54 +0300 |
commit | 55c15ad9ded2707d16cb88eea2dc2a62e4ec2359 (patch) | |
tree | 9f4c1bf3392e5b69b84d5214f7f1b9b8d875222b /intern/cycles/kernel/kernel_compat_opencl.h | |
parent | 3de9db96508309646d2d715eee483ca5ff909b87 (diff) |
Cycles: Use falltrhough attribute to help catching missing break statements
Diffstat (limited to 'intern/cycles/kernel/kernel_compat_opencl.h')
-rw-r--r-- | intern/cycles/kernel/kernel_compat_opencl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/kernel/kernel_compat_opencl.h b/intern/cycles/kernel/kernel_compat_opencl.h index c2263ac0d49..4836c290312 100644 --- a/intern/cycles/kernel/kernel_compat_opencl.h +++ b/intern/cycles/kernel/kernel_compat_opencl.h @@ -50,6 +50,8 @@ # define ccl_addr_space #endif +#define ATTR_FALLTHROUGH + #define ccl_local_id(d) get_local_id(d) #define ccl_global_id(d) get_global_id(d) |