Blender Git Commit Log
Git Commits -> Revision 2722734
Revision 2722734 by Sergey Sharybin (cycles-x) June 1, 2021, 08:09 (GMT) |
Cycles X: Generalize storage of offsets in BufferParams This change replaces storage of a hand-picked passes with a more generic storage. Simplifies code in the BufferParams and makes data available in all areas which need to access those offsets. A bit of a duplication with KernelFilm, but not all areas have access to the KernelFilm. Film can not be used either because it is not guaranteed to be in sync with the BufferParams. So in a way now all the knowledge about what is stored and how to be accessed in the Buffer is available via BufferParams. Simplifies arguments passed to the PassAccessor. The Film is still needed to be passed there to know whether shadow from the shadow catcher pass is to be averaged and added to the combined pass or not. Currently no functional changes, just preparation for an upcoming deeper refactor of the PassAccessor. Differential Revision: https://developer.blender.org/D11437 |
Commit Details:
Full Hash: 27227348de7f5f0c2c5ebcd61797a1d80f97274e
Parent Commit: b86c951
Lines Changed: +122, -166
10 Modified Paths:
/intern/cycles/device/device_denoise.h (+4, -14) (Diff)
/intern/cycles/device/optix/device_impl.cpp (+41, -34) (Diff)
/intern/cycles/integrator/denoiser_device.cpp (+4, -30) (Diff)
/intern/cycles/integrator/denoiser_oidn.cpp (+13, -6) (Diff)
/intern/cycles/kernel/kernel_types.h (+3, -1) (Diff)
/intern/cycles/render/buffers.cpp (+29, -31) (Diff)
/intern/cycles/render/buffers.h (+10, -8) (Diff)
/intern/cycles/render/pass_accessor.cpp (+15, -28) (Diff)
/intern/cycles/render/pass_accessor.h (+2, -12) (Diff)
/intern/cycles/render/session.cpp (+1, -2) (Diff)
/intern/cycles/device/optix/device_impl.cpp (+41, -34) (Diff)
/intern/cycles/integrator/denoiser_device.cpp (+4, -30) (Diff)
/intern/cycles/integrator/denoiser_oidn.cpp (+13, -6) (Diff)
/intern/cycles/kernel/kernel_types.h (+3, -1) (Diff)
/intern/cycles/render/buffers.cpp (+29, -31) (Diff)
/intern/cycles/render/buffers.h (+10, -8) (Diff)
/intern/cycles/render/pass_accessor.cpp (+15, -28) (Diff)
/intern/cycles/render/pass_accessor.h (+2, -12) (Diff)
/intern/cycles/render/session.cpp (+1, -2) (Diff)