Fix T92526: Cycles viewport denoiser red tint after recent changes

This commit is contained in:
Brecht Van Lommel 2021-10-28 15:44:50 +02:00
parent 43f97393bb
commit cefb0122b4
Notes: blender-bot 2023-02-14 19:45:25 +01:00
Referenced by issue #92603, Blender 3.0 Beta uses Denoise to display color errors
Referenced by issue #92526, Cycles Viewport Denoising Appears Red
1 changed files with 1 additions and 0 deletions

View File

@ -194,6 +194,7 @@ void Film::device_update(Device *device, DeviceScene *dscene, Scene *scene)
/* Mark passes as unused so that the kernel knows the pass is inaccessible. */
kfilm->pass_denoising_normal = PASS_UNUSED;
kfilm->pass_denoising_albedo = PASS_UNUSED;
kfilm->pass_denoising_depth = PASS_UNUSED;
kfilm->pass_sample_count = PASS_UNUSED;
kfilm->pass_adaptive_aux_buffer = PASS_UNUSED;
kfilm->pass_shadow_catcher = PASS_UNUSED;