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-25 20:30:19 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-10-26 15:48:44 +0300
commiteb1fed9d60a03cc5f9e648a1efaf89019bc2d8bd (patch)
tree7f9ea6537ff9403954ff1dc2174a735d2c53c73d /intern/cycles/kernel/kernel_types.h
parent16a8d0fab07513bcafb3f3bd09ac9c880638816b (diff)
Cycles: restore Denoising Depth pass, when enabling Denoising Data passes
This is still useful in some cases even if not used by OpenImageDenoise. In the future this may be replaced with a more generic system to control render passes and filtering, but for now this just does what it did before.
Diffstat (limited to 'intern/cycles/kernel/kernel_types.h')
-rw-r--r--intern/cycles/kernel/kernel_types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h
index 5cbe2939dfc..df6b6b5be20 100644
--- a/intern/cycles/kernel/kernel_types.h
+++ b/intern/cycles/kernel/kernel_types.h
@@ -384,6 +384,7 @@ typedef enum PassType {
PASS_MIST,
PASS_DENOISING_NORMAL,
PASS_DENOISING_ALBEDO,
+ PASS_DENOISING_DEPTH,
/* PASS_SHADOW_CATCHER accumulates contribution of shadow catcher object which is not affected by
* any other object. The pass accessor will divide the combined pass by the shadow catcher. The
@@ -1031,6 +1032,7 @@ typedef struct KernelFilm {
int pass_denoising_normal;
int pass_denoising_albedo;
+ int pass_denoising_depth;
int pass_aov_color;
int pass_aov_value;
@@ -1047,7 +1049,7 @@ typedef struct KernelFilm {
int use_approximate_shadow_catcher;
- int pad1, pad2, pad3;
+ int pad1, pad2;
} KernelFilm;
static_assert_align(KernelFilm, 16);