Cleanup: format, trailing space

This commit is contained in:
Campbell Barton 2022-09-09 15:38:27 +10:00
parent 0c9749093b
commit 274dc024f6
Notes: blender-bot 2023-02-14 09:24:53 +01:00
Referenced by issue #96787, Edit mode normalize fails to respect locked groups
6 changed files with 9 additions and 10 deletions

View File

@ -531,4 +531,4 @@ class DrawMultiBuf {
/** \} */
}; // namespace blender::draw::command
}; // namespace blender::draw::command

View File

@ -61,4 +61,4 @@ void main()
vec3 size_inv = safe_rcp(size);
infos_buf[resource_id].orco_add = -loc * size_inv;
infos_buf[resource_id].orco_mul = size_inv;
}
}

View File

@ -43,4 +43,4 @@ void main()
mask_visibility_bit();
}
}
}
}

View File

@ -137,11 +137,10 @@ struct DensityAddOperationExecutor {
/* Find UV map. */
VArraySpan<float2> surface_uv_map;
if (curves_id_orig_->surface_uv_map != nullptr) {
surface_uv_map = surface_orig_->attributes()
.lookup<float2>(curves_id_orig_->surface_uv_map, ATTR_DOMAIN_CORNER);
surface_uv_map_eval_ = surface_eval_->attributes()
.lookup<float2>(curves_id_orig_->surface_uv_map,
ATTR_DOMAIN_CORNER);
surface_uv_map = surface_orig_->attributes().lookup<float2>(curves_id_orig_->surface_uv_map,
ATTR_DOMAIN_CORNER);
surface_uv_map_eval_ = surface_eval_->attributes().lookup<float2>(
curves_id_orig_->surface_uv_map, ATTR_DOMAIN_CORNER);
}
if (surface_uv_map.is_empty()) {
report_missing_uv_map_on_original_surface(stroke_extension.reports);

View File

@ -20,4 +20,4 @@ GPU_SHADER_CREATE_INFO(fullscreen_blit)
.sampler(0, ImageType::FLOAT_2D, "imageTexture", Frequency::PASS)
.vertex_source("gpu_shader_fullscreen_blit_vert.glsl")
.fragment_source("gpu_shader_fullscreen_blit_frag.glsl")
.do_static_compilation(true);
.do_static_compilation(true);

View File

@ -97,4 +97,4 @@ static inline bool mtl_vertex_count_fits_primitive_type(uint32_t vertex_count,
return false;
}
} // namespace blender::gpu
} // namespace blender::gpu