Commit: 2c46b4b24c8f005f10de288a4c65dbfa8fe54901
Author: Brecht Van Lommel
Date: Fri Jul 9 15:37:26 2021 +0200
Branches: cycles-x
https://developer.blender.org/rB2c46b4b24c8f005f10de288a4c65dbfa8fe54901
Cleanup: add comment
===================================================================
M intern/cycles/kernel/integrator/integrator_intersect_closest.h
===================================================================
diff --git a/intern/cycles/kernel/integrator/integrator_intersect_closest.h
b/intern/cycles/kernel/integrator/integrator_intersect_closest.h
index ba397c24cb7..d49068d9823 100644
--- a/intern/cycles/kernel/integrator/integrator_intersect_closest.h
+++ b/intern/cycles/kernel/integrator/integrator_intersect_closest.h
@@ -81,6 +81,8 @@ ccl_device_forceinline bool
integrator_intersect_terminate(INTEGRATOR_STATE_ARGS
return false;
}
+/* Note that current_kernel is a template value since making this a variable
+ * leads to poor performance with CUDA atomics. */
template<uint32_t current_kernel>
ccl_device_forceinline void integrator_intersect_shader_next_kernel(
INTEGRATOR_STATE_ARGS,
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs