Fix cycles OpenCL compile error on AMD, and fix assert in debug builds.

This commit is contained in:
2013-10-02 14:41:04 +00:00
parent 8e70db78f4
commit cbb783f1d6
4 changed files with 14 additions and 7 deletions

View File

@@ -468,7 +468,9 @@ __device float4 kernel_path_integrate(KernelGlobals *kg, RNG *rng, int sample, R
float min_ray_pdf = FLT_MAX;
float ray_pdf = 0.0f;
#ifdef __LAMP_MIS__
float ray_t = 0.0f;
#endif
PathState state;
int rng_offset = PRNG_BASE_NUM;
#ifdef __CMJ__