Light linking: Support distant lights for shadow linking #107979

Merged
Sergey Sharybin merged 2 commits from Sergey/blender:cycles-light-linking-distant into cycles-light-linking 2023-05-16 17:59:59 +02:00

2 Commits

Author SHA1 Message Date
Sergey Sharybin 8c1a5218a1 Remove if constexpr
Not supported on CUDA 10.
2023-05-16 17:40:51 +02:00
Sergey Sharybin 99b4d5717b Light linking: Support distant lights for shadow linking
Follows the logic of the non-distant lights.

Ref #104972
2023-05-16 16:48:32 +02:00