diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-01 16:11:57 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-01 17:49:52 +0300 |
commit | 399a27b2616bcf7dc50de7a27e513c8db6296329 (patch) | |
tree | 2e02e1d2f1827dc1369c1f542286d9d51114fa8a /intern/cycles/util/util_atomic.h | |
parent | f45f2ac68732aae68cb13103795ba9303fa5da77 (diff) |
Cycles: Code cleanup, spaces around keyword and brace
Diffstat (limited to 'intern/cycles/util/util_atomic.h')
-rw-r--r-- | intern/cycles/util/util_atomic.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/util/util_atomic.h b/intern/cycles/util/util_atomic.h index 85a82d38275..1d1e2963348 100644 --- a/intern/cycles/util/util_atomic.h +++ b/intern/cycles/util/util_atomic.h @@ -53,9 +53,9 @@ ccl_device_inline void atomic_add_float(volatile ccl_global float *source, do { prev_value.float_value = *source; new_value.float_value = prev_value.float_value + operand; - } while (atomic_cmpxchg((volatile ccl_global unsigned int *)source, - prev_value.int_value, - new_value.int_value) != prev_value.int_value); + } while(atomic_cmpxchg((volatile ccl_global unsigned int *)source, + prev_value.int_value, + new_value.int_value) != prev_value.int_value); } #endif /* __KERNEL_OPENCL__ */ |