Blender Git Loki

Git Commits -> Revision 3254225

Revision 3254225 by Sergey Sharybin (cycles-x)
April 6, 2021, 15:06 (GMT)
Cycles: Fix dependency cycle between device update and scheduler

Scheduler needs to know adaptive sampling settings, the device
update needs to know scheduled resolution divider, and the old
adaptive sampling code was using fields which are only available
after device update.

This change fixes this dependency.

The downside is that there is no more check for existence of AUX
pass. Assume that the session is in consistent state and that when
adaptive sampling is enabled toe AUX pass exists.

Commit Details:

Full Hash: 32542250f31b582fada06f6f89425eaf99d4be9d
Parent Commit: c5c5735
Lines Changed: +43, -9

3 Modified Paths:

/intern/cycles/render/integrator.cpp (+23, -9) (Diff)
/intern/cycles/render/integrator.h (+3, -0) (Diff)
/intern/cycles/render/session.cpp (+17, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021