Blender Git Loki
Git Commits -> Revision 0ceded7
Revision 0ceded7 by Sergey Sharybin (master) October 11, 2021, 10:27 (GMT) |
Cycles: Introduce scene host_update function The longer-term goal is to separate host-only scene update from device update: make it possible to make kernel features depend on actual scene state and flags. This change makes it so shaders are compiled before kernel load, making checks like "has_volume" available at the kernel features calculation state. No functional changes are expected at this point. Differential Revision: https://developer.blender.org/D12795 |
Commit Details:
Full Hash: 0ceded7bc97852564c4d26951b41853e8289925e
Parent Commit: f9755ad
Lines Changed: +138, -65
8 Modified Paths:
/intern/cycles/render/osl.cpp (+47, -28) (Diff)
/intern/cycles/render/osl.h (+2, -0) (Diff)
/intern/cycles/render/scene.cpp (+25, -7) (Diff)
/intern/cycles/render/scene.h (+4, -0) (Diff)
/intern/cycles/render/shader.cpp (+13, -4) (Diff)
/intern/cycles/render/shader.h (+3, -0) (Diff)
/intern/cycles/render/svm.cpp (+37, -22) (Diff)
/intern/cycles/render/svm.h (+7, -4) (Diff)
/intern/cycles/render/osl.h (+2, -0) (Diff)
/intern/cycles/render/scene.cpp (+25, -7) (Diff)
/intern/cycles/render/scene.h (+4, -0) (Diff)
/intern/cycles/render/shader.cpp (+13, -4) (Diff)
/intern/cycles/render/shader.h (+3, -0) (Diff)
/intern/cycles/render/svm.cpp (+37, -22) (Diff)
/intern/cycles/render/svm.h (+7, -4) (Diff)