Blender Git Loki
Git Commits -> Revision 6b4b952
Revision 6b4b952 by Sergey Sharybin (cycles-x) April 13, 2021, 10:44 (GMT) |
Cycles: Unify checks for unused passes Avoids possible scenario when viewport rendering uses samples count as a display pass: its offset will be 0 in this case, making checks in the kernel wrong. This also makes it so access to the adaptive sampling will cause memory issues instead of silently accessing combined passes. |
Commit Details:
Full Hash: 6b4b95259d582eb03d776b59298cbfbda16d30f8
Parent Commit: a704b0d
Lines Changed: +16, -8
7 Modified Paths:
/intern/cycles/kernel/kernel_accumulate.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_adaptive_sampling.h (+7, -1) (Diff)
/intern/cycles/kernel/kernel_film.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_passes.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_path.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_work_stealing.h (+1, -1) (Diff)
/intern/cycles/render/film.cpp (+2, -0) (Diff)
/intern/cycles/kernel/kernel_adaptive_sampling.h (+7, -1) (Diff)
/intern/cycles/kernel/kernel_film.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_passes.h (+2, -2) (Diff)
/intern/cycles/kernel/kernel_path.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_work_stealing.h (+1, -1) (Diff)
/intern/cycles/render/film.cpp (+2, -0) (Diff)