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-12-02 08:02:34 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-12-02 08:02:34 +0300
commitf1b0b0ffb8bd2aa87a2bdbea8bdafa2fe2833a43 (patch)
tree082ddc5483104892a924a8d50952d7e816a71e01 /source/blender/nodes/shader/node_shader_util.cc
parent8f69c914080a7fe9555f7126362f08c368a8069d (diff)
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/nodes/shader/node_shader_util.cc')
-rw-r--r--source/blender/nodes/shader/node_shader_util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/shader/node_shader_util.cc b/source/blender/nodes/shader/node_shader_util.cc
index 1d875e86b44..8b7e72fbcc9 100644
--- a/source/blender/nodes/shader/node_shader_util.cc
+++ b/source/blender/nodes/shader/node_shader_util.cc
@@ -277,11 +277,11 @@ void ntreeExecGPUNodes(bNodeTreeExec *exec, GPUMaterial *mat, bNode *output_node
void node_shader_gpu_bump_tex_coord(GPUMaterial *mat, bNode *node, GPUNodeLink **link)
{
if (node->branch_tag == 1) {
- /* Add one time the value fo derivative to the input vector. */
+ /* Add one time the value for derivative to the input vector. */
GPU_link(mat, "dfdx_v3", *link, link);
}
else if (node->branch_tag == 2) {
- /* Add one time the value fo derivative to the input vector. */
+ /* Add one time the value for derivative to the input vector. */
GPU_link(mat, "dfdy_v3", *link, link);
}
else {