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-09-24 04:31:23 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-09-24 04:31:23 +0300
commitbc65c7d0e579c19169baf8be609afa066712c2cc (patch)
treeae61716f08a9351c2cbd7940ddd0278863eb0e37 /intern/cycles
parent599d96e8f96f2fd40c51c9949091559b5f162869 (diff)
Cleanup: spelling in comments
Diffstat (limited to 'intern/cycles')
-rw-r--r--intern/cycles/render/gpu_display.h2
-rw-r--r--intern/cycles/render/osl.cpp4
-rw-r--r--intern/cycles/util/util_debug.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/render/gpu_display.h b/intern/cycles/render/gpu_display.h
index 0340e0b7e45..3c3cfaea513 100644
--- a/intern/cycles/render/gpu_display.h
+++ b/intern/cycles/render/gpu_display.h
@@ -163,7 +163,7 @@ class GPUDisplay {
* This call might happen in parallel with draw, but can never happen in parallel with the
* update.
*
- * The actual zero-ing can be deferred to a later moment. What is important is that after clear
+ * The actual zeroing can be deferred to a later moment. What is important is that after clear
* and before pixels update the drawing texture will be fully empty, and that partial update
* after clear will write new pixel values for an updating area, leaving everything else zeroed.
*
diff --git a/intern/cycles/render/osl.cpp b/intern/cycles/render/osl.cpp
index d28b222c10e..5a43b641872 100644
--- a/intern/cycles/render/osl.cpp
+++ b/intern/cycles/render/osl.cpp
@@ -727,8 +727,8 @@ void OSLCompiler::add(ShaderNode *node, const char *name, bool isfilepath)
}
}
- /* create shader of the appropriate type. OSL only distinguishes between "surface"
- * and "displacement" atm */
+ /* Create shader of the appropriate type. OSL only distinguishes between "surface"
+ * and "displacement" at the moment. */
if (current_type == SHADER_TYPE_SURFACE)
ss->Shader("surface", name, id(node).c_str());
else if (current_type == SHADER_TYPE_VOLUME)
diff --git a/intern/cycles/util/util_debug.h b/intern/cycles/util/util_debug.h
index 99e2723180c..a2acaea5675 100644
--- a/intern/cycles/util/util_debug.h
+++ b/intern/cycles/util/util_debug.h
@@ -89,7 +89,7 @@ class DebugFlags {
void reset();
/* Whether adaptive feature based runtime compile is enabled or not.
- * Requires the CUDA Toolkit and only works on Linux atm. */
+ * Requires the CUDA Toolkit and only works on Linux at the moment. */
bool adaptive_compile;
};