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:
authorBrecht Van Lommel <brecht@blender.org>2021-10-20 18:58:16 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-10-20 19:15:21 +0300
commit7d111f4ac2b1321fc9387922c606381cadd3f3ad (patch)
tree49589cb1f464b512dec2b70a0e4e4660c70fc2df /intern/cycles/device/cpu
parent0baa876b8347a81a457dadaa1f11acc7530c2769 (diff)
Cleanup: remove unused code
Diffstat (limited to 'intern/cycles/device/cpu')
-rw-r--r--intern/cycles/device/cpu/kernel.cpp4
-rw-r--r--intern/cycles/device/cpu/kernel.h4
2 files changed, 1 insertions, 7 deletions
diff --git a/intern/cycles/device/cpu/kernel.cpp b/intern/cycles/device/cpu/kernel.cpp
index bbad2f3147d..3b253c094fd 100644
--- a/intern/cycles/device/cpu/kernel.cpp
+++ b/intern/cycles/device/cpu/kernel.cpp
@@ -50,9 +50,7 @@ CPUKernels::CPUKernels()
REGISTER_KERNEL(adaptive_sampling_filter_x),
REGISTER_KERNEL(adaptive_sampling_filter_y),
/* Cryptomatte. */
- REGISTER_KERNEL(cryptomatte_postprocess),
- /* Bake. */
- REGISTER_KERNEL(bake)
+ REGISTER_KERNEL(cryptomatte_postprocess)
{
}
diff --git a/intern/cycles/device/cpu/kernel.h b/intern/cycles/device/cpu/kernel.h
index 3787fe37a33..5f9cb85389f 100644
--- a/intern/cycles/device/cpu/kernel.h
+++ b/intern/cycles/device/cpu/kernel.h
@@ -102,10 +102,6 @@ class CPUKernels {
CryptomattePostprocessFunction cryptomatte_postprocess;
- /* Bake. */
-
- CPUKernelFunction<void (*)(const KernelGlobalsCPU *, float *, int, int, int, int, int)> bake;
-
CPUKernels();
};