Cleanup: Remove some outdated comments related to split kernel.
This commit is contained in:
@@ -71,7 +71,6 @@ ccl_device_noinline float3 direct_emissive_eval(KernelGlobals *kg,
|
|||||||
return eval;
|
return eval;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The argument sd_DL is meaningful only for split kernel. Other uses can just pass NULL */
|
|
||||||
ccl_device_noinline bool direct_emission(KernelGlobals *kg, ShaderData *sd,
|
ccl_device_noinline bool direct_emission(KernelGlobals *kg, ShaderData *sd,
|
||||||
LightSample *ls, Ray *ray, BsdfEval *eval, bool *is_lamp,
|
LightSample *ls, Ray *ray, BsdfEval *eval, bool *is_lamp,
|
||||||
int bounce, int transparent_bounce
|
int bounce, int transparent_bounce
|
||||||
@@ -192,7 +191,6 @@ ccl_device_noinline float3 indirect_primitive_emission(KernelGlobals *kg, Shader
|
|||||||
|
|
||||||
/* Indirect Lamp Emission */
|
/* Indirect Lamp Emission */
|
||||||
|
|
||||||
/* The argument sd is meaningful only for split kernel. Other uses can just pass NULL */
|
|
||||||
ccl_device_noinline bool indirect_lamp_emission(KernelGlobals *kg, PathState *state, Ray *ray, float3 *emission
|
ccl_device_noinline bool indirect_lamp_emission(KernelGlobals *kg, PathState *state, Ray *ray, float3 *emission
|
||||||
#ifdef __SPLIT_KERNEL__
|
#ifdef __SPLIT_KERNEL__
|
||||||
,ShaderData *sd
|
,ShaderData *sd
|
||||||
|
@@ -180,7 +180,6 @@ ccl_device_inline bool shadow_blocked(KernelGlobals *kg, PathState *state, Ray *
|
|||||||
* potentially transparent, and only in that case start marching. this gives
|
* potentially transparent, and only in that case start marching. this gives
|
||||||
* one extra ray cast for the cases were we do want transparency. */
|
* one extra ray cast for the cases were we do want transparency. */
|
||||||
|
|
||||||
/* The arguments sd_mem and isect_mem are meaningful only for OpenCL split kernel. Other uses can just pass a NULL */
|
|
||||||
ccl_device_inline bool shadow_blocked(KernelGlobals *kg, ccl_addr_space PathState *state, ccl_addr_space Ray *ray_input, float3 *shadow
|
ccl_device_inline bool shadow_blocked(KernelGlobals *kg, ccl_addr_space PathState *state, ccl_addr_space Ray *ray_input, float3 *shadow
|
||||||
#ifdef __SPLIT_KERNEL__
|
#ifdef __SPLIT_KERNEL__
|
||||||
, ShaderData *sd_mem, Intersection *isect_mem
|
, ShaderData *sd_mem, Intersection *isect_mem
|
||||||
|
Reference in New Issue
Block a user