Cycles: Cleanup: line wrapping
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 8 Sep 2016 12:26:10 +0000 (14:26 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 8 Sep 2016 12:26:10 +0000 (14:26 +0200)
intern/cycles/bvh/bvh.cpp

index 1bb3e95c8106e1078bab8d309551162038560742..bf301eb4ae6839086cb6cf77438bfd713f7ee29e 100644 (file)
@@ -475,10 +475,20 @@ void RegularBVH::pack_aligned_node(int idx,
        int4 data[BVH_NODE_SIZE] =
        {
                make_int4(visibility0 & ~PATH_RAY_NODE_UNALIGNED,
-                         visibility1 & ~PATH_RAY_NODE_UNALIGNED, c0, c1),
-               make_int4(__float_as_int(b0.min.x), __float_as_int(b1.min.x), __float_as_int(b0.max.x), __float_as_int(b1.max.x)),
-               make_int4(__float_as_int(b0.min.y), __float_as_int(b1.min.y), __float_as_int(b0.max.y), __float_as_int(b1.max.y)),
-               make_int4(__float_as_int(b0.min.z), __float_as_int(b1.min.z), __float_as_int(b0.max.z), __float_as_int(b1.max.z)),
+                         visibility1 & ~PATH_RAY_NODE_UNALIGNED,
+                         c0, c1),
+               make_int4(__float_as_int(b0.min.x),
+                         __float_as_int(b1.min.x),
+                         __float_as_int(b0.max.x),
+                         __float_as_int(b1.max.x)),
+               make_int4(__float_as_int(b0.min.y),
+                         __float_as_int(b1.min.y),
+                         __float_as_int(b0.max.y),
+                         __float_as_int(b1.max.y)),
+               make_int4(__float_as_int(b0.min.z),
+                         __float_as_int(b1.min.z),
+                         __float_as_int(b0.max.z),
+                         __float_as_int(b1.max.z)),
        };
 
        memcpy(&pack.nodes[idx], data, sizeof(int4)*BVH_NODE_SIZE);