Cycles: avoid using float3 in kernel constant memory, just so we're sure alignment
is working compatible between cpu and gpu.
This commit is contained in:
@@ -273,7 +273,6 @@ static void sky_texture_precompute(KernelSunSky *ksunsky, float3 dir, float turb
|
||||
|
||||
ksunsky->theta = theta;
|
||||
ksunsky->phi = phi;
|
||||
ksunsky->dir = dir;
|
||||
|
||||
float theta2 = theta*theta;
|
||||
float theta3 = theta*theta*theta;
|
||||
|
Reference in New Issue
Block a user