From 16afff2ddc4580cfe3a952c3e60e0950ae0487b6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 20 Apr 2022 09:16:24 +1000 Subject: Cleanup: spelling in comments --- source/blender/draw/engines/eevee/eevee_shaders_extra.cc | 2 +- source/blender/draw/intern/draw_common.h | 2 +- source/blender/draw/intern/draw_shader_shared.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/draw') diff --git a/source/blender/draw/engines/eevee/eevee_shaders_extra.cc b/source/blender/draw/engines/eevee/eevee_shaders_extra.cc index 499c78723df..05577944140 100644 --- a/source/blender/draw/engines/eevee/eevee_shaders_extra.cc +++ b/source/blender/draw/engines/eevee/eevee_shaders_extra.cc @@ -81,7 +81,7 @@ void eevee_shader_material_create_info_amend(GPUMaterial *gpumat, const bool do_fragment_attrib_load = is_background || is_volume; if (is_hair && !info.vertex_out_interfaces_.is_empty()) { - /** Hair attributes comme from sampler buffer. Transfer attributes to sampler. */ + /** Hair attributes come from sampler buffer. Transfer attributes to sampler. */ for (auto &input : info.vertex_inputs_) { info.sampler(0, ImageType::FLOAT_BUFFER, input.name, Frequency::BATCH); } diff --git a/source/blender/draw/intern/draw_common.h b/source/blender/draw/intern/draw_common.h index af2efd338e4..aa421158305 100644 --- a/source/blender/draw/intern/draw_common.h +++ b/source/blender/draw/intern/draw_common.h @@ -78,7 +78,7 @@ void DRW_hair_free(void); /* draw_volume.cc */ /** - * Add attributes bindings of volume grids to an exhisting shading group. + * Add attributes bindings of volume grids to an existing shading group. * No draw call is added so the caller can decide how to use the data. * \return nullptr if there is something to draw. */ diff --git a/source/blender/draw/intern/draw_shader_shared.h b/source/blender/draw/intern/draw_shader_shared.h index d2e51b67468..db128fffde7 100644 --- a/source/blender/draw/intern/draw_shader_shared.h +++ b/source/blender/draw/intern/draw_shader_shared.h @@ -70,7 +70,7 @@ BLI_STATIC_ASSERT_ALIGN(ViewInfos, 16) struct VolumeInfos { /* Object to grid-space. */ float4x4 grids_xform[DRW_GRID_PER_VOLUME_MAX]; - /* NOTE: vec4 for alignement. Only float3 needed. */ + /* NOTE: vec4 for alignment. Only float3 needed. */ float4 color_mul; float density_scale; float temperature_mul; -- cgit v1.2.3