Cycles: Cleanup: Remove double semicolons
This commit is contained in:
parent
60f4cb24da
commit
16c05161e7
@ -1684,7 +1684,7 @@ public:
|
||||
min_blocks *= 8;
|
||||
}
|
||||
|
||||
uint step_samples = divide_up(min_blocks * num_threads_per_block, wtile->w * wtile->h);;
|
||||
uint step_samples = divide_up(min_blocks * num_threads_per_block, wtile->w * wtile->h);
|
||||
|
||||
/* Render all samples. */
|
||||
int start_sample = rtile.start_sample;
|
||||
|
@ -1452,7 +1452,7 @@ typedef struct KernelObject {
|
||||
uint attribute_map_offset;
|
||||
uint motion_offset;
|
||||
uint pad;
|
||||
} KernelObject;;
|
||||
} KernelObject;
|
||||
static_assert_align(KernelObject, 16);
|
||||
|
||||
typedef struct KernelSpotLight {
|
||||
|
@ -216,7 +216,7 @@ ccl_device void svm_node_bevel(
|
||||
if(stack_valid(normal_offset)) {
|
||||
/* Preserve input normal. */
|
||||
float3 ref_N = stack_load_float3(stack, normal_offset);
|
||||
bevel_N = normalize(ref_N + (bevel_N - sd->N));;
|
||||
bevel_N = normalize(ref_N + (bevel_N - sd->N));
|
||||
}
|
||||
|
||||
stack_store_float3(stack, out_offset, bevel_N);
|
||||
|
@ -141,7 +141,7 @@ ccl_device void svm_node_vector_displacement(KernelGlobals *kg, ShaderData *sd,
|
||||
tangent = normalize(sd->dPdu);
|
||||
}
|
||||
|
||||
float3 bitangent = normalize(cross(normal, tangent));;
|
||||
float3 bitangent = normalize(cross(normal, tangent));
|
||||
const AttributeDescriptor attr_sign = find_attribute(kg, sd, node.w);
|
||||
if(attr_sign.offset != ATTR_STD_NOT_FOUND) {
|
||||
float sign = primitive_attribute_float(kg, sd, attr_sign, NULL, NULL);
|
||||
|
@ -4601,7 +4601,7 @@ void AttributeNode::compile(SVMCompiler& compiler)
|
||||
ShaderOutput *vector_out = output("Vector");
|
||||
ShaderOutput *fac_out = output("Fac");
|
||||
ShaderNodeType attr_node = NODE_ATTR;
|
||||
int attr = compiler.attribute_standard(attribute);;
|
||||
int attr = compiler.attribute_standard(attribute);
|
||||
|
||||
if(bump == SHADER_BUMP_DX)
|
||||
attr_node = NODE_ATTR_BUMP_DX;
|
||||
|
@ -480,7 +480,7 @@ void ObjectManager::device_update_object_transform(UpdateObjectTransformState *s
|
||||
kobject.dupli_uv[1] = ob->dupli_uv[1];
|
||||
int totalsteps = mesh->motion_steps;
|
||||
kobject.numsteps = (totalsteps - 1)/2;
|
||||
kobject.numverts = mesh->verts.size();;
|
||||
kobject.numverts = mesh->verts.size();
|
||||
kobject.patch_map_offset = 0;
|
||||
kobject.attribute_map_offset = 0;
|
||||
|
||||
|
@ -67,7 +67,7 @@ ccl_device_inline float len_squared(const float3 a);
|
||||
|
||||
ccl_device_inline float3 saturate3(float3 a);
|
||||
ccl_device_inline float3 safe_normalize(const float3 a);
|
||||
ccl_device_inline float3 normalize_len(const float3 a, float *t);;
|
||||
ccl_device_inline float3 normalize_len(const float3 a, float *t);
|
||||
ccl_device_inline float3 safe_normalize_len(const float3 a, float *t);
|
||||
ccl_device_inline float3 interp(float3 a, float3 b, float t);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user