[Bf-blender-cvs] [2190ef8ffe7] cycles-x: Cleanup: clarify comment

Brecht Van Lommel noreply at git.blender.org
Fri Sep 17 15:25:19 CEST 2021


Commit: 2190ef8ffe7fcfed9aa47c37e5f839dd3122c5b5
Author: Brecht Van Lommel
Date:   Fri Sep 17 14:51:52 2021 +0200
Branches: cycles-x
https://developer.blender.org/rB2190ef8ffe7fcfed9aa47c37e5f839dd3122c5b5

Cleanup: clarify comment

===================================================================

M	intern/cycles/kernel/device/optix/kernel.cu

===================================================================

diff --git a/intern/cycles/kernel/device/optix/kernel.cu b/intern/cycles/kernel/device/optix/kernel.cu
index a4603b53150..c1e36febfc0 100644
--- a/intern/cycles/kernel/device/optix/kernel.cu
+++ b/intern/cycles/kernel/device/optix/kernel.cu
@@ -222,7 +222,8 @@ extern "C" __global__ void __anyhit__kernel_optix_shadow_all_hit()
     }
 
     if (optixGetRayTmax() >= max_recorded_t) {
-      /* Accept hit, so that OptiX won't consider any more hits beyond it anymore. */
+      /* Accept hit, so that OptiX won't consider any more hits beyond the distance of the current
+       * hit anymore. */
       return;
     }



More information about the Bf-blender-cvs mailing list