Blender Git Loki
Git Commits -> Revision 00d257b
Revision 00d257b by Sergey Sharybin (cycles-x) February 17, 2021, 15:45 (GMT) |
Cycles: Refactor kernel globals localization used for CPU Move all resource management to a dedicated class. Reduces code duplication between rendering and shading, as well as makes resource management more localized and robust. Additionally, removed the kgbuffer, which seemed to be some sort of part of a finished project. Should become handy when adding actual execution logic to the device queue (which would need to have KernelGlobals in order to invoke kernels). Currently no functional changes. Tested by switching Session::render() back to its operable state. |
Commit Details:
Full Hash: 00d257b3e8593faf9b81390c3884eec68f91a2a7
Parent Commit: 91d8c84
Lines Changed: +49, -56
1 Modified Path:
/intern/cycles/device/device_cpu.cpp (+49, -56) (Diff)