Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-11-09 13:34:54 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-11-09 13:34:54 +0300
commitcb4b5e12abf1fc6cf9ffc0944e0a1bc406286c63 (patch)
treee11abe060fb0cbcb01b7f41949b57b91d59baa94 /intern/cycles/kernel/kernel_id_passes.h
parent33039a4602de8ff71f1edd6f717c0b55013e4bd0 (diff)
Cycles: Cleanup, spacing after preprocessor
It is supposed to be two spaces before comment stating which if else/endif statements corresponds to. Was mainly violated in the header guards.
Diffstat (limited to 'intern/cycles/kernel/kernel_id_passes.h')
-rw-r--r--intern/cycles/kernel/kernel_id_passes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/kernel_id_passes.h b/intern/cycles/kernel/kernel_id_passes.h
index 486c61d2ae5..ee3b8b8abfb 100644
--- a/intern/cycles/kernel/kernel_id_passes.h
+++ b/intern/cycles/kernel/kernel_id_passes.h
@@ -43,7 +43,7 @@ ccl_device_inline void kernel_write_id_slots(ccl_global float *buffer, int num_s
atomic_add_and_fetch_float(buffer+slot*2+1, weight);
break;
}
-#else /* __ATOMIC_PASS_WRITE__ */
+#else /* __ATOMIC_PASS_WRITE__ */
/* If the loop reaches an empty slot, the ID isn't in any slot yet - so add it! */
if(id_buffer[slot].x == ID_NONE) {
id_buffer[slot].x = id;
@@ -56,7 +56,7 @@ ccl_device_inline void kernel_write_id_slots(ccl_global float *buffer, int num_s
id_buffer[slot].y += weight;
break;
}
-#endif /* __ATOMIC_PASS_WRITE__ */
+#endif /* __ATOMIC_PASS_WRITE__ */
}
}