Cycles: One more attempt to fix compilation of 32bit CUDA kernels
This commit is contained in:
@@ -1447,8 +1447,12 @@ ccl_device bool ray_triangle_intersect_uv(
|
||||
return true;
|
||||
}
|
||||
|
||||
ccl_device bool ray_quad_intersect(
|
||||
float3 ray_P, float3 ray_D, float ray_t,
|
||||
#if defined(__KERNEL_CUDA__) && (defined(i386) || defined(_M_IX86))
|
||||
ccl_device_noinline
|
||||
#else
|
||||
ccl_device
|
||||
#endif
|
||||
bool ray_quad_intersect(float3 ray_P, float3 ray_D, float ray_t,
|
||||
float3 quad_P, float3 quad_u, float3 quad_v,
|
||||
float3 *isect_P, float *isect_t)
|
||||
{
|
||||
|
Reference in New Issue
Block a user