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-11-30 01:04:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-11-30 02:15:17 +0300
commit4e45265dc6cafe0bf6f36a14a469288183059858 (patch)
tree899ea04187908aafbcc590fd026b33d2d3b021c1 /intern/cycles
parent262ef26ea3fe457ff077224662eaecc1b912aed1 (diff)
Cleanup: spelling in comments & strings
Diffstat (limited to 'intern/cycles')
-rw-r--r--intern/cycles/blender/session.cpp2
-rw-r--r--intern/cycles/device/optix/device_impl.cpp6
-rw-r--r--intern/cycles/kernel/bvh/bvh.h2
-rw-r--r--intern/cycles/kernel/types.h2
4 files changed, 6 insertions, 6 deletions
diff --git a/intern/cycles/blender/session.cpp b/intern/cycles/blender/session.cpp
index 2c4e57404b8..b8165186b4f 100644
--- a/intern/cycles/blender/session.cpp
+++ b/intern/cycles/blender/session.cpp
@@ -629,7 +629,7 @@ void BlenderSession::bake(BL::Depsgraph &b_depsgraph_,
integrator->set_use_emission((bake_filter & BL::BakeSettings::pass_filter_EMIT) != 0);
}
- /* Always use transpanent background for baking. */
+ /* Always use transparent background for baking. */
scene->background->set_transparent(true);
/* Load built-in images from Blender. */
diff --git a/intern/cycles/device/optix/device_impl.cpp b/intern/cycles/device/optix/device_impl.cpp
index 1d893d9c65b..7a78504f458 100644
--- a/intern/cycles/device/optix/device_impl.cpp
+++ b/intern/cycles/device/optix/device_impl.cpp
@@ -335,7 +335,7 @@ bool OptiXDevice::load_kernels(const uint kernel_features)
# if OPTIX_ABI_VERSION >= 55
builtin_options.builtinISModuleType = OPTIX_PRIMITIVE_TYPE_ROUND_CATMULLROM;
builtin_options.buildFlags = OPTIX_BUILD_FLAG_PREFER_FAST_TRACE;
- builtin_options.curveEndcapFlags = OPTIX_CURVE_ENDCAP_DEFAULT; /* Disable endcaps. */
+ builtin_options.curveEndcapFlags = OPTIX_CURVE_ENDCAP_DEFAULT; /* Disable end-caps. */
# else
builtin_options.builtinISModuleType = OPTIX_PRIMITIVE_TYPE_ROUND_CUBIC_BSPLINE;
# endif
@@ -1281,7 +1281,7 @@ void OptiXDevice::build_bvh(BVH *bvh, Progress &progress, bool refit)
}
else {
/* Disable visibility test any-hit program, since it is already checked during
- * intersection. Those trace calls that require anyhit can force it with a ray flag. */
+ * intersection. Those trace calls that require any-hit can force it with a ray flag. */
build_flags |= OPTIX_GEOMETRY_FLAG_DISABLE_ANYHIT;
build_input.type = OPTIX_BUILD_INPUT_TYPE_CUSTOM_PRIMITIVES;
@@ -1449,7 +1449,7 @@ void OptiXDevice::build_bvh(BVH *bvh, Progress &progress, bool refit)
}
}
# if OPTIX_ABI_VERSION < 55
- /* Cannot disable any-hit program for thick curves, since it needs to filter out endcaps. */
+ /* Cannot disable any-hit program for thick curves, since it needs to filter out end-caps. */
else
# endif
{
diff --git a/intern/cycles/kernel/bvh/bvh.h b/intern/cycles/kernel/bvh/bvh.h
index 33d2e44471a..37cfac25060 100644
--- a/intern/cycles/kernel/bvh/bvh.h
+++ b/intern/cycles/kernel/bvh/bvh.h
@@ -250,7 +250,7 @@ ccl_device_intersect bool scene_intersect(KernelGlobals kg,
uint ray_mask = visibility & 0xFF;
if (0 == ray_mask && (visibility & ~0xFF) != 0) {
ray_mask = 0xFF;
- /* No further intersector setup required: Default MetalRT behaviour is anyhit */
+ /* No further intersector setup required: Default MetalRT behavior is any-hit. */
}
else if (visibility & PATH_RAY_SHADOW_OPAQUE) {
/* No further intersector setup required: Shadow ray early termination is controlled by the
diff --git a/intern/cycles/kernel/types.h b/intern/cycles/kernel/types.h
index b15230e627f..b44386e0da0 100644
--- a/intern/cycles/kernel/types.h
+++ b/intern/cycles/kernel/types.h
@@ -1204,7 +1204,7 @@ typedef struct KernelIntegrator {
/* Closure filter. */
int filter_closures;
- /* MIS debuging */
+ /* MIS debugging. */
int direct_light_sampling_type;
/* padding */