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>2020-02-13 06:01:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-02-13 06:14:33 +0300
commitd1bd33407da3183335805beec561c18e6f5aa6e0 (patch)
tree564bd2c8b1d2c99ff3ad9d76628efa3ec04c292b /intern/cycles/device/device_multi.cpp
parentf874f6817d1c793da4fd423a3c8bf0e504ebfa4a (diff)
Cleanup: pass const variables
Diffstat (limited to 'intern/cycles/device/device_multi.cpp')
-rw-r--r--intern/cycles/device/device_multi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/device/device_multi.cpp b/intern/cycles/device/device_multi.cpp
index 9cbf69a191a..8226221ea08 100644
--- a/intern/cycles/device/device_multi.cpp
+++ b/intern/cycles/device/device_multi.cpp
@@ -394,7 +394,7 @@ class MultiDevice : public Device {
if (mem.device == this && denoising_devices.empty()) {
/* Skip unnecessary copies in viewport mode (buffer covers the
- * whole image), but still need to fix up the tile evice pointer. */
+ * whole image), but still need to fix up the tile device pointer. */
map_tile(sub_device, tiles[i]);
continue;
}
@@ -407,7 +407,7 @@ class MultiDevice : public Device {
/* Only copy from device to host once. This is faster, but
* also required for the case where a CPU thread is denoising
* a tile rendered on the GPU. In that case we have to avoid
- * overwriting the buffer being denoised by the CPU thread. */
+ * overwriting the buffer being de-noised by the CPU thread. */
if (!tiles[i].buffers->map_neighbor_copied) {
tiles[i].buffers->map_neighbor_copied = true;
mem.copy_from_device();