diff options
Diffstat (limited to 'intern/cycles/kernel/kernel_types.h')
-rw-r--r-- | intern/cycles/kernel/kernel_types.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h index bef00355c5e..04d013ceb9c 100644 --- a/intern/cycles/kernel/kernel_types.h +++ b/intern/cycles/kernel/kernel_types.h @@ -761,7 +761,7 @@ struct SubsurfaceIntersection float3 weight[BSSRDF_MAX_HITS]; int num_hits; - Intersection hits[BSSRDF_MAX_HITS]; + struct Intersection hits[BSSRDF_MAX_HITS]; float3 Ng[BSSRDF_MAX_HITS]; }; @@ -769,11 +769,14 @@ struct SubsurfaceIntersection struct SubsurfaceIndirectRays { bool need_update_volume_stack; - PathState state; + bool tracing; + PathState state[BSSRDF_MAX_HITS]; + struct PathRadiance direct_L; int num_rays; - Ray rays[BSSRDF_MAX_HITS]; + struct Ray rays[BSSRDF_MAX_HITS]; float3 throughputs[BSSRDF_MAX_HITS]; + struct PathRadiance L[BSSRDF_MAX_HITS]; }; /* Constant Kernel Data |