Blender Git Loki

Git Commits -> Revision df00463

Revision df00463 by Brecht Van Lommel (master)
October 21, 2021, 13:38 (GMT)
Cycles: add shadow path compaction for GPU rendering

Similar to main path compaction that happens before adding work tiles, this
compacts shadow paths before launching kernels that may add shadow paths.

Only do it when more than 50% of space is wasted.

It's not a clear win in all scenes, some are up to 1.5% slower. Likely caused
by different order of scheduling kernels having an unpredictable performance
impact. Still feels like compaction is just the right thing to avoid cases
where a few shadow paths can hold up a lot of main paths.

Differential Revision: https://developer.blender.org/D12944

Commit Details:

Full Hash: df004637643241136a3294a63c7d4ca865cdea98
Parent Commit: fd560ef
Lines Changed: +186, -30

8 Modified Paths:

/intern/cycles/device/cuda/queue.cpp (+2, -0) (Diff)
/intern/cycles/device/device_kernel.cpp (+6, -0) (Diff)
/intern/cycles/device/hip/queue.cpp (+2, -0) (Diff)
/intern/cycles/integrator/path_trace_work_gpu.cpp (+69, -29) (Diff)
/intern/cycles/integrator/path_trace_work_gpu.h (+7, -1) (Diff)
/intern/cycles/kernel/device/gpu/kernel.h (+41, -0) (Diff)
/intern/cycles/kernel/integrator/integrator_state_util.h (+56, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021