diff options
author | Campbell Barton <ideasman42@gmail.com> | 2022-01-06 05:54:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2022-01-06 05:54:52 +0300 |
commit | 499fec6f79a26c9c9d2d61b90bda2e4cec424f81 (patch) | |
tree | 828271035f950a504f11a8bdb3454516835d0800 /source/blender/gpu/intern | |
parent | aa363ec2ae9382c052f024284dcdb77ac495c177 (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r-- | source/blender/gpu/intern/gpu_codegen.c | 2 | ||||
-rw-r--r-- | source/blender/gpu/intern/gpu_material.c | 4 | ||||
-rw-r--r-- | source/blender/gpu/intern/gpu_state_private.hh | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c index f0046e879a0..568462ec2a6 100644 --- a/source/blender/gpu/intern/gpu_codegen.c +++ b/source/blender/gpu/intern/gpu_codegen.c @@ -65,7 +65,7 @@ extern char datatoc_gpu_shader_common_obinfos_lib_glsl[]; * same for 2 different Materials. Unused GPUPasses are free by Garbage collection. */ -/* Only use one linklist that contains the GPUPasses grouped by hash. */ +/* Only use one linked-list that contains the GPUPasses grouped by hash. */ static GPUPass *pass_cache = NULL; static SpinLock pass_cache_spin; diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c index 3804f2f0dd1..6451086f5fc 100644 --- a/source/blender/gpu/intern/gpu_material.c +++ b/source/blender/gpu/intern/gpu_material.c @@ -84,7 +84,7 @@ struct GPUMaterial { bool has_volume_output; bool has_surface_output; - /* Only used by Eevee to know which bsdf are used. */ + /* Only used by Eevee to know which BSDF are used. */ eGPUMatFlag flag; /* Used by 2.8 pipeline */ @@ -604,7 +604,7 @@ GPUMaterial *GPU_material_from_nodetree(Scene *scene, /* Caller must re-use materials. */ BLI_assert(GPU_material_from_nodetree_find(gpumaterials, engine_type, options) == NULL); - /* HACK: Eevee assume this to create Ghash keys. */ + /* HACK: Eevee assume this to create #GHash keys. */ BLI_assert(sizeof(GPUPass) > 16); /* allocate material */ diff --git a/source/blender/gpu/intern/gpu_state_private.hh b/source/blender/gpu/intern/gpu_state_private.hh index 81d422ff21a..864b7d0446a 100644 --- a/source/blender/gpu/intern/gpu_state_private.hh +++ b/source/blender/gpu/intern/gpu_state_private.hh @@ -62,7 +62,7 @@ union GPUState { uint32_t polygon_smooth : 1; uint32_t line_smooth : 1; }; - /* Here to allow fast bitwise ops. */ + /* Here to allow fast bit-wise ops. */ uint64_t data; }; |