diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2022-02-26 04:15:22 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2022-02-26 04:15:22 +0300 |
commit | d6b3723b088d2ae2652f2c821b4fdeafe5be7827 (patch) | |
tree | 64cb766b9d1d901bf2ce5c733785a78b235aa7b3 | |
parent | ac3f4db719451acc9ee846b37c77912e2735e4be (diff) |
Cleanup: typos in comments.
14 files changed, 15 insertions, 15 deletions
diff --git a/intern/cycles/kernel/svm/light_path.h b/intern/cycles/kernel/svm/light_path.h index dce0f83da68..7c2189d3608 100644 --- a/intern/cycles/kernel/svm/light_path.h +++ b/intern/cycles/kernel/svm/light_path.h @@ -58,8 +58,8 @@ ccl_device_noinline void svm_node_light_path(KernelGlobals kg, info = (float)integrator_state_bounce(state, path_flag); } - /* For background, light emission and shadow evaluation we from a - * surface or volume we are effective one bounce further. */ + /* For background, light emission and shadow evaluation from a + * surface or volume we are effectively one bounce further. */ if (path_flag & (PATH_RAY_SHADOW | PATH_RAY_EMISSION)) { info += 1.0f; } diff --git a/source/blender/draw/intern/shaders/common_subdiv_custom_data_interp_comp.glsl b/source/blender/draw/intern/shaders/common_subdiv_custom_data_interp_comp.glsl index df0016761e2..097ae0b3913 100644 --- a/source/blender/draw/intern/shaders/common_subdiv_custom_data_interp_comp.glsl +++ b/source/blender/draw/intern/shaders/common_subdiv_custom_data_interp_comp.glsl @@ -1,5 +1,5 @@ -/* To be compile with common_subdiv_lib.glsl */ +/* To be compiled with common_subdiv_lib.glsl */ layout(std430, binding = 1) readonly restrict buffer sourceBuffer { diff --git a/source/blender/draw/intern/shaders/common_subdiv_ibo_lines_comp.glsl b/source/blender/draw/intern/shaders/common_subdiv_ibo_lines_comp.glsl index f11c0f6427e..3cbb9f980f3 100644 --- a/source/blender/draw/intern/shaders/common_subdiv_ibo_lines_comp.glsl +++ b/source/blender/draw/intern/shaders/common_subdiv_ibo_lines_comp.glsl @@ -1,5 +1,5 @@ -/* To be compile with common_subdiv_lib.glsl */ +/* To be compiled with common_subdiv_lib.glsl */ layout(std430, binding = 0) readonly buffer inputEdgeOrigIndex { diff --git a/source/blender/draw/intern/shaders/common_subdiv_ibo_tris_comp.glsl b/source/blender/draw/intern/shaders/common_subdiv_ibo_tris_comp.glsl index 3257ebdae17..3dccc82541e 100644 --- a/source/blender/draw/intern/shaders/common_subdiv_ibo_tris_comp.glsl +++ b/source/blender/draw/intern/shaders/common_subdiv_ibo_tris_comp.glsl @@ -1,5 +1,5 @@ -/* To be compile with common_subdiv_lib.glsl */ +/* To be compiled with common_subdiv_lib.glsl */ /* Generate triangles from subdivision quads indices. */ diff --git a/source/blender/draw/intern/shaders/common_subdiv_normals_accumulate_comp.glsl b/source/blender/draw/intern/shaders/common_subdiv_normals_accumulate_comp.glsl index a6d6c205615..0665cadfd2d 100644 --- a/source/blender/draw/intern/shaders/common_subdiv_normals_accumulate_comp.glsl +++ b/source/blender/draw/intern/shaders/common_subdiv_normals_accumulate_comp.glsl @@ -1,5 +1,5 @@ -/* To be compile with common_subdiv_lib.glsl */ +/* To be compiled with common_subdiv_lib.glsl */ layout(std430, binding = 0) readonly buffer inputVertexData { diff --git a/source/blender/draw/intern/shaders/common_subdiv_normals_finalize_comp.glsl b/source/blender/draw/intern/shaders/common_subdiv_normals_finalize_comp.glsl index c2e0e752783..e6a56ff02c7 100644 --- a/source/blender/draw/intern/shaders/common_subdiv_normals_finalize_comp.glsl +++ b/source/blender/draw/intern/shaders/common_subdiv_normals_finalize_comp.glsl @@ -1,5 +1,5 @@ -/* To be compile with common_subdiv_lib.glsl */ +/* To be compiled with common_subdiv_lib.glsl */ #ifdef CUSTOM_NORMALS struct CustomNormal { diff --git a/source/blender/draw/intern/shaders/common_subdiv_patch_evaluation_comp.glsl b/source/blender/draw/intern/shaders/common_subdiv_patch_evaluation_comp.glsl index 26410eb2d7f..65cf4ebb90f 100644 --- a/source/blender/draw/intern/shaders/common_subdiv_patch_evaluation_comp.glsl +++ b/source/blender/draw/intern/shaders/common_subdiv_patch_evaluation_comp.glsl @@ -1,5 +1,5 @@ -/* To be compile with common_subdiv_lib.glsl */ +/* To be compiled with common_subdiv_lib.glsl */ /* Source buffer. */ layout(std430, binding = 0) buffer src_buffer diff --git a/source/blender/draw/intern/shaders/common_subdiv_vbo_edge_fac_comp.glsl b/source/blender/draw/intern/shaders/common_subdiv_vbo_edge_fac_comp.glsl index 6c76cd41ca4..2161f0b28a9 100644 --- a/source/blender/draw/intern/shaders/common_subdiv_vbo_edge_fac_comp.glsl +++ b/source/blender/draw/intern/shaders/common_subdiv_vbo_edge_fac_comp.glsl @@ -1,5 +1,5 @@ -/* To be compile with common_subdiv_lib.glsl */ +/* To be compiled with common_subdiv_lib.glsl */ layout(std430, binding = 0) readonly buffer inputVertexData { diff --git a/source/blender/draw/intern/shaders/common_subdiv_vbo_edituv_strech_angle_comp.glsl b/source/blender/draw/intern/shaders/common_subdiv_vbo_edituv_strech_angle_comp.glsl index ea73b9482d3..a8c9b7183eb 100644 --- a/source/blender/draw/intern/shaders/common_subdiv_vbo_edituv_strech_angle_comp.glsl +++ b/source/blender/draw/intern/shaders/common_subdiv_vbo_edituv_strech_angle_comp.glsl @@ -1,5 +1,5 @@ -/* To be compile with common_subdiv_lib.glsl */ +/* To be compiled with common_subdiv_lib.glsl */ layout(std430, binding = 0) readonly buffer inputVerts { diff --git a/source/blender/draw/intern/shaders/common_subdiv_vbo_edituv_strech_area_comp.glsl b/source/blender/draw/intern/shaders/common_subdiv_vbo_edituv_strech_area_comp.glsl index e897fb3f3c0..230484048b1 100644 --- a/source/blender/draw/intern/shaders/common_subdiv_vbo_edituv_strech_area_comp.glsl +++ b/source/blender/draw/intern/shaders/common_subdiv_vbo_edituv_strech_area_comp.glsl @@ -1,5 +1,5 @@ -/* To be compile with common_subdiv_lib.glsl */ +/* To be compiled with common_subdiv_lib.glsl */ layout(std430, binding = 1) readonly buffer inputCoarseData { diff --git a/source/blender/draw/intern/shaders/common_subdiv_vbo_lnor_comp.glsl b/source/blender/draw/intern/shaders/common_subdiv_vbo_lnor_comp.glsl index 8b4a5dd14f3..b7e04e240fb 100644 --- a/source/blender/draw/intern/shaders/common_subdiv_vbo_lnor_comp.glsl +++ b/source/blender/draw/intern/shaders/common_subdiv_vbo_lnor_comp.glsl @@ -1,5 +1,5 @@ -/* To be compile with common_subdiv_lib.glsl */ +/* To be compiled with common_subdiv_lib.glsl */ layout(std430, binding = 1) readonly buffer inputVertexData { diff --git a/source/blender/draw/intern/shaders/common_subdiv_vbo_sculpt_data_comp.glsl b/source/blender/draw/intern/shaders/common_subdiv_vbo_sculpt_data_comp.glsl index 7182ce57ad3..77b599f6252 100644 --- a/source/blender/draw/intern/shaders/common_subdiv_vbo_sculpt_data_comp.glsl +++ b/source/blender/draw/intern/shaders/common_subdiv_vbo_sculpt_data_comp.glsl @@ -1,5 +1,5 @@ -/* To be compile with common_subdiv_lib.glsl */ +/* To be compiled with common_subdiv_lib.glsl */ struct SculptData { uint face_set_color; diff --git a/source/blender/gpu/intern/gpu_node_graph.c b/source/blender/gpu/intern/gpu_node_graph.c index da4e49f0257..57e415a8183 100644 --- a/source/blender/gpu/intern/gpu_node_graph.c +++ b/source/blender/gpu/intern/gpu_node_graph.c @@ -165,7 +165,7 @@ static const char *gpu_uniform_set_function_from_type(eNodeSocketDatatype type) /** * Link stack uniform buffer. - * This is called for the input/output sockets that are note connected. + * This is called for the input/output sockets that are not connected. */ static GPUNodeLink *gpu_uniformbuffer_link(GPUMaterial *mat, bNode *node, diff --git a/source/blender/nodes/intern/node_common.cc b/source/blender/nodes/intern/node_common.cc index c2d440efdb5..c4befd5828c 100644 --- a/source/blender/nodes/intern/node_common.cc +++ b/source/blender/nodes/intern/node_common.cc @@ -171,7 +171,7 @@ static void group_verify_socket_list(bNodeTree &node_tree, BLI_addtail(&verify_lb, matching_socket); } else { - /* If there was no socket withe the same identifier already, simply create a new socket + /* If there was no socket with the same identifier already, simply create a new socket * based on the interface socket, which will already add it to the new list. */ add_new_socket_from_interface(node_tree, node, *interface_socket, in_out); } |