diff options
Diffstat (limited to 'intern/cycles/kernel')
-rw-r--r-- | intern/cycles/kernel/device/optix/kernel.cu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/device/optix/kernel.cu b/intern/cycles/kernel/device/optix/kernel.cu index 70b977b3d84..c9a48315544 100644 --- a/intern/cycles/kernel/device/optix/kernel.cu +++ b/intern/cycles/kernel/device/optix/kernel.cu @@ -236,7 +236,7 @@ extern "C" __global__ void __anyhit__kernel_optix_shadow_all_hit() optixSetPayload_2(uint16_pack_to_uint(num_recorded_hits, num_hits + 1)); if (throughput < CURVE_SHADOW_TRANSPARENCY_CUTOFF) { - optixSetPayload_4(true); + optixSetPayload_5(true); return optixTerminateRay(); } else { |