diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-04-28 19:29:13 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-04-28 20:55:12 +0300 |
commit | c722993ef19d6e6a564311f4bdc3cfb214b1474a (patch) | |
tree | 2d92b34620ed5a03c22a4db680f2839d391312b1 /intern/cycles/scene | |
parent | 5b1ec08f040ab238b2f4d80fa3bc7b169eeb3820 (diff) |
Fix T94467: Cycles baking of normal pass slower than before cycles-x
Diffstat (limited to 'intern/cycles/scene')
-rw-r--r-- | intern/cycles/scene/film.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/intern/cycles/scene/film.cpp b/intern/cycles/scene/film.cpp index c3b126544c4..7f69df7b321 100644 --- a/intern/cycles/scene/film.cpp +++ b/intern/cycles/scene/film.cpp @@ -163,6 +163,19 @@ void Film::device_update(Device *device, DeviceScene *dscene, Scene *scene) kfilm->pass_stride = 0; /* Mark with PASS_UNUSED to avoid mask test in the kernel. */ + kfilm->pass_combined = PASS_UNUSED; + kfilm->pass_depth = PASS_UNUSED; + kfilm->pass_position = PASS_UNUSED; + kfilm->pass_normal = PASS_UNUSED; + kfilm->pass_roughness = PASS_UNUSED; + kfilm->pass_motion = PASS_UNUSED; + kfilm->pass_motion_weight = PASS_UNUSED; + kfilm->pass_uv = PASS_UNUSED; + kfilm->pass_object_id = PASS_UNUSED; + kfilm->pass_material_id = PASS_UNUSED; + kfilm->pass_diffuse_color = PASS_UNUSED; + kfilm->pass_glossy_color = PASS_UNUSED; + kfilm->pass_transmission_color = PASS_UNUSED; kfilm->pass_background = PASS_UNUSED; kfilm->pass_emission = PASS_UNUSED; kfilm->pass_ao = PASS_UNUSED; |