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>2021-02-17 07:04:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-17 07:04:29 +0300
commit20a6255d49aaa1ca0ad72e75be064b2c1a56353f (patch)
tree8f1ff14b1240ac2869e977c9b191d660f9cfaf67 /source/blender/gpu/intern
parent62592af84349629bccaa1c81df7965f4deb39fd4 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r--source/blender/gpu/intern/gpu_matrix.cc2
-rw-r--r--source/blender/gpu/intern/gpu_shader_interface.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_matrix.cc b/source/blender/gpu/intern/gpu_matrix.cc
index 4ccb28fedbd..24cdea74347 100644
--- a/source/blender/gpu/intern/gpu_matrix.cc
+++ b/source/blender/gpu/intern/gpu_matrix.cc
@@ -732,7 +732,7 @@ float GPU_polygon_offset_calc(const float (*winmat)[4], float viewdist, float di
#else
static float depth_fac = 0.0f;
if (depth_fac == 0.0f) {
- /* Hardcode for 24 bit precision. */
+ /* Hard-code for 24 bit precision. */
int depthbits = 24;
depth_fac = 1.0f / (float)((1 << depthbits) - 1);
}
diff --git a/source/blender/gpu/intern/gpu_shader_interface.hh b/source/blender/gpu/intern/gpu_shader_interface.hh
index 942be84caae..aec58544111 100644
--- a/source/blender/gpu/intern/gpu_shader_interface.hh
+++ b/source/blender/gpu/intern/gpu_shader_interface.hh
@@ -60,7 +60,7 @@ class ShaderInterface {
uint attr_len_ = 0;
uint ubo_len_ = 0;
uint uniform_len_ = 0;
- /** Enabled bindpoints that needs to be fed with data. */
+ /** Enabled bind-points that needs to be fed with data. */
uint16_t enabled_attr_mask_ = 0;
uint16_t enabled_ubo_mask_ = 0;
uint8_t enabled_ima_mask_ = 0;