Cycles: first batch of windows build fixes, not quite there yet.

This commit is contained in:
Brecht Van Lommel
2011-05-03 18:29:11 +00:00
parent 170f8c8c41
commit 2996f08f84
28 changed files with 112 additions and 57 deletions

View File

@@ -143,9 +143,9 @@ __device float perlin_periodic(float x, float y, float z, float3 pperiod)
int3 p;
p.x = fmaxf(quick_floor(pperiod.x), 1);
p.y = fmaxf(quick_floor(pperiod.y), 1);
p.z = fmaxf(quick_floor(pperiod.z), 1);
p.x = max(quick_floor(pperiod.x), 1);
p.y = max(quick_floor(pperiod.y), 1);
p.z = max(quick_floor(pperiod.z), 1);
float u = fade(fx);
float v = fade(fy);