Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-06-05 07:34:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-06-05 07:34:00 +0300
commit9e96c6d05488370cd74c89b69b306da6f5e4de69 (patch)
treec443908c02f3eb6386aab015fce8d78a9bdc2798 /source/blender/draw/engines/eevee/eevee_materials.c
parentb2d1c4873fd5ee6244490e47836dd24c83955574 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_materials.c')
-rw-r--r--source/blender/draw/engines/eevee/eevee_materials.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_materials.c b/source/blender/draw/engines/eevee/eevee_materials.c
index 0f10fb0ef53..cfc70baaf01 100644
--- a/source/blender/draw/engines/eevee/eevee_materials.c
+++ b/source/blender/draw/engines/eevee/eevee_materials.c
@@ -563,9 +563,9 @@ static EeveeMaterialCache material_opaque(EEVEE_Data *vedata,
const bool use_depth_shader = use_gpumat && ELEM(ma->blend_method, MA_BM_CLIP, MA_BM_HASHED);
/* HACK: Assume the struct will never be smaller than our variations.
- * This allow us to only keep one ghash and avoid bigger keys comparissons/hashing. */
+ * This allow us to only keep one ghash and avoid bigger keys comparisons/hashing. */
void *key = (char *)ma + is_hair;
- /* Search for other material instances (sharing the same Material datablock). */
+ /* Search for other material instances (sharing the same Material data-block). */
EeveeMaterialCache **emc_p, *emc;
if (BLI_ghash_ensure_p(pd->material_hash, key, (void ***)&emc_p)) {
return **emc_p;
@@ -641,7 +641,7 @@ static EeveeMaterialCache material_opaque(EEVEE_Data *vedata,
/* Search for the same shaders usage in the pass. */
/* HACK: Assume the struct will never be smaller than our variations.
- * This allow us to only keep one ghash and avoid bigger keys comparissons/hashing. */
+ * This allow us to only keep one ghash and avoid bigger keys comparisons/hashing. */
BLI_assert(option <= 16);
struct GPUShader *sh = GPU_material_get_shader(gpumat);
void *cache_key = (char *)sh + option;