Workaround for T47213: branched path sampling issues with CUDA 7.5.

This commit is contained in:
Brecht Van Lommel
2016-02-19 00:39:00 +01:00
parent 1d15421af9
commit 3c4f971392
4 changed files with 8 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ CCL_NAMESPACE_BEGIN
/* branched path tracing: connect path directly to position on one or more lights and add it to L */
ccl_device_noinline void kernel_branched_path_surface_connect_light(KernelGlobals *kg, RNG *rng,
ShaderData *sd, PathState *state, float3 throughput, float num_samples_adjust, PathRadiance *L, bool sample_all_lights)
ShaderData *sd, PathState *state, float3 throughput, float num_samples_adjust, PathRadiance *L, int sample_all_lights)
{
#ifdef __EMISSION__
/* sample illumination from lights to find path contribution */