Cycles: add support for Arm Neon instructions using sse2neon

Based on patch contributed by Apple and Stefan Werner.

Ref D8237, T78710
This commit is contained in:
2021-02-14 15:01:26 +01:00
parent 68dd7617d7
commit 0e9497e886
11 changed files with 317 additions and 40 deletions

View File

@@ -741,7 +741,8 @@ float Camera::world_to_raster_size(float3 P)
float3 D = transform_point(&worldtocamera, P);
float dist = len(D);
Ray ray = {{0}};
Ray ray;
memset(&ray, 0, sizeof(ray));
/* Distortion can become so great that the results become meaningless, there
* may be a better way to do this, but calculating differentials from the