Cleanup: trailing space
authorCampbell Barton <ideasman42@gmail.com>
Sat, 24 Nov 2018 21:01:14 +0000 (08:01 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 24 Nov 2018 21:01:14 +0000 (08:01 +1100)
intern/cycles/bvh/bvh_embree.cpp
intern/cycles/device/device_cpu.cpp
intern/cycles/kernel/bvh/bvh_embree.h
intern/cycles/kernel/geom/geom_triangle_intersect.h
intern/cycles/kernel/kernel_id_passes.h
intern/cycles/kernel/kernel_passes.h
intern/cycles/render/scene.cpp
intern/cycles/render/shader.cpp

index 7489fe8ea42d3c2559a5836193401ab28d55566f..2d6efe8dad54e447027fcba479cc66567e6145cc 100644 (file)
@@ -597,7 +597,7 @@ void BVHEmbree::update_curve_vertex_buffer(RTCGeometry geom_id, const Mesh* mesh
                        num_motion_steps = mesh->motion_steps;
                }
        }
-       
+
        const size_t num_curves = mesh->num_curves();
        size_t num_keys = 0;
        for(size_t j = 0; j < num_curves; ++j) {
index 76f6466bbdee7c95d0d0567fe3cad9501953f12d..36fe9bfc92b5f3f70d19cc53860875c99dd99c71 100644 (file)
@@ -707,7 +707,7 @@ public:
 
                _MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_ON);
                _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON);
-               
+
                for(int sample = start_sample; sample < end_sample; sample++) {
                        if(task.get_cancel() || task_pool.canceled()) {
                                if(task.need_finish_queue == false)
index 34a099ebb4dc2151fe55b70645d12a6053a32eba..bfc911a1e76354142fce939dbf0ee6970f795ce0 100644 (file)
@@ -30,7 +30,7 @@ struct CCLIntersectContext  {
                RAY_SHADOW_ALL = 1,
                RAY_SSS = 2,
                RAY_VOLUME_ALL = 3,
-               
+
        } RayType;
 
        KernelGlobals *kg;
index 57f4c86d40341f4a5343f1b52ff371fe7bd88410..56dbc4473fa29da71f286d115c2b2741fa402167 100644 (file)
@@ -210,7 +210,7 @@ ccl_device_inline int ray_triangle_intersect8(
        unsigned char mask_sign_T = _mm256_movemask_ps(sign_T_256);
        if(((mask_minmaxUVW_pos | mask_sign_T) & prim_num_mask) == prim_num_mask) {
                return false;
-       } 
+       }
 
        __m256 xor_signmask_256 = _mm256_castsi256_ps(_mm256_xor_si256(_mm256_castps_si256(den_256), sign_den_256));
 
index ee3b8b8abfb7686502c60405f1ca0cd057a5afda..0cd65b1f2e87d01c84585a5a8188e2f6dc379144 100644 (file)
@@ -22,7 +22,7 @@ ccl_device_inline void kernel_write_id_slots(ccl_global float *buffer, int num_s
        if(weight == 0.0f) {
                return;
        }
-       
+
        for(int slot = 0; slot < num_slots; slot++) {
                ccl_global float2 *id_buffer = (ccl_global float2*)buffer;
 #ifdef __ATOMIC_PASS_WRITE__
index 80477f921ead263f58c741a02caa43d2deb88157..1f5929e49388d69502d616b499ef930e26965154 100644 (file)
@@ -200,7 +200,7 @@ ccl_device_inline size_t kernel_write_id_pass_cpu(float *buffer, size_t depth, f
                return 0;
        }
 #else  /* __KERNEL_CPU__ */
-#define WRITE_ID_SLOT(buffer, depth, id, matte_weight, name) kernel_write_id_slots_gpu(buffer, depth * 2, id, matte_weight) 
+#define WRITE_ID_SLOT(buffer, depth, id, matte_weight, name) kernel_write_id_slots_gpu(buffer, depth * 2, id, matte_weight)
 ccl_device_inline size_t kernel_write_id_slots_gpu(ccl_global float *buffer, size_t depth, float id, float matte_weight)
 {
 #endif  /* __KERNEL_CPU__ */
index ccaca8707c8851c1ed50f2ecb30ce2f844f9f1c5..c96a1b785376cee10d2217a24da36b4f07161c88 100644 (file)
@@ -215,7 +215,7 @@ void Scene::device_update(Device *device_, Progress& progress)
        object_manager->device_update(device, &dscene, this, progress);
 
        if(progress.get_cancel() || device->have_error()) return;
-       
+
        progress.set_status("Updating Hair Systems");
        curve_system_manager->device_update(device, &dscene, this, progress);
 
@@ -245,7 +245,7 @@ void Scene::device_update(Device *device_, Progress& progress)
        camera->device_update_volume(device, &dscene, this);
 
        if(progress.get_cancel() || device->have_error()) return;
-       
+
        progress.set_status("Updating Lookup Tables");
        lookup_tables->device_update(device, &dscene);
 
index d6c2d7502f26c8b5a02588ab876f254ae8891001..df16ae800d092aa4027fdf048b81962787413bc1 100644 (file)
@@ -525,7 +525,7 @@ void ShaderManager::device_update_common(Device *device,
                        flag |= SD_HAS_CONSTANT_EMISSION;
 
                uint32_t cryptomatte_id = util_murmur_hash3(shader->name.c_str(), shader->name.length(), 0);
-               
+
                /* regular shader */
                kshader->flags = flag;
                kshader->pass_id = shader->pass_id;