Blender Git Loki
Git Commits -> Revision 2214c39
Revision 2214c39 by Sergey Sharybin (cycles-x) May 12, 2021, 12:56 (GMT) |
Cycles X: Switch sample count pass from float to uint This way we will never run into rounding issues when relying on a per-pixel sample count value. There is some code duplication between the film conversion and the pass accessor. Ideally we will de-duplicate the per-pixel processing logic, but is better if that happens as a separate refactor. |
Commit Details:
Full Hash: 2214c3910623b6c34652248589e64e75aff0043e
Parent Commit: e1b6b97
Lines Changed: +29, -12
6 Modified Paths:
/intern/cycles/integrator/denoiser_oidn.cpp (+1, -1) (Diff)
/intern/cycles/kernel/device/cuda/kernel.cu (+2, -2) (Diff)
/intern/cycles/kernel/kernel_accumulate.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_adaptive_sampling.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_film.h (+9, -2) (Diff)
/intern/cycles/render/pass_accessor.cpp (+15, -5) (Diff)
/intern/cycles/kernel/device/cuda/kernel.cu (+2, -2) (Diff)
/intern/cycles/kernel/kernel_accumulate.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_adaptive_sampling.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_film.h (+9, -2) (Diff)
/intern/cycles/render/pass_accessor.cpp (+15, -5) (Diff)