Cycles: Code cleanup, spaces around keywords
[blender-staging.git] / intern / cycles / kernel / svm / svm_normal.h
index 67b5321e0def4368e880f5efaf45448c562c17f7..53abef710129da348bd249e9efb1d38b34d32e29 100644 (file)
@@ -28,10 +28,10 @@ ccl_device void svm_node_normal(KernelGlobals *kg, ShaderData *sd, float *stack,
        direction.z = __int_as_float(node1.z);
        direction = normalize(direction);
 
-       if (stack_valid(out_normal_offset))
+       if(stack_valid(out_normal_offset))
                stack_store_float3(stack, out_normal_offset, direction);
 
-       if (stack_valid(out_dot_offset))
+       if(stack_valid(out_dot_offset))
                stack_store_float(stack, out_dot_offset, dot(direction, normalize(normal)));
 }