Blender Git Loki

Git Commits -> Revision 9ec21f2

Revision 9ec21f2 by Brecht Van Lommel (cycles-x)
March 23, 2021, 17:25 (GMT)
Cycles: add back displacement and background shader evaluation

* Add ShaderEval class similar to PathTrace which takes care of scheduling
these shader evaluations on device, instead of using DeviceTask.
* SVM shader evaluation can now have a NULL integrator state, since we
don't want to allocate a IntegratorState array for this.

Commit Details:

Full Hash: 9ec21f2449f1ad6f593e72ec6af81378f5c173cb
Parent Commit: 964b2a8
Lines Changed: +395, -430

2 Added Paths:

/intern/cycles/integrator/shader_eval.cpp (+148, -0) (View)
/intern/cycles/integrator/shader_eval.h (+47, -0) (View)

24 Modified Paths:

/intern/cycles/device/cpu/device_impl.cpp (+1, -31) (Diff)
/intern/cycles/device/cpu/device_impl.h (+0, -1) (Diff)
/intern/cycles/device/cpu/kernel.cpp (+2, -1) (Diff)
/intern/cycles/device/cpu/kernel.h (+4, -2) (Diff)
/intern/cycles/device/cpu/queue.cpp (+0, -42) (Diff)
/intern/cycles/device/cuda/device_impl.cpp (+0, -81) (Diff)
/intern/cycles/device/cuda/queue.cpp (+2, -0) (Diff)
/intern/cycles/device/device_kernel.cpp (+4, -0) (Diff)
/intern/cycles/device/device_task.cpp (+4, -25) (Diff)
/intern/cycles/device/device_task.h (+1, -1) (Diff)
/intern/cycles/device/opencl/device_impl.cpp (+0, -47) (Diff)
/intern/cycles/device/optix/device.cpp (+0, -3) (Diff)
/intern/cycles/integrator/CMakeLists.txt (+2, -0) (Diff)
/intern/cycles/integrator/path_trace.h (+0, -1) (Diff)
/intern/cycles/integrator/path_trace_work_gpu.cpp (+2, -0) (Diff)
/intern/cycles/kernel/device/cpu/kernel_arch.h (+8, -9) (Diff)
/intern/cycles/kernel/device/cpu/kernel_arch_impl.h (+21, -19) (Diff)
/intern/cycles/kernel/device/cuda/kernel.cu (+41, -46) (Diff)
/intern/cycles/kernel/integrator/integrator_state.h (+9, -0) (Diff)
/intern/cycles/kernel/kernel_bake.h (+63, -68) (Diff)
/intern/cycles/kernel/kernel_types.h (+3, -0) (Diff)
/intern/cycles/kernel/svm/svm_light_path.h (+7, -3) (Diff)
/intern/cycles/render/light.cpp (+18, -30) (Diff)
/intern/cycles/render/mesh_displace.cpp (+8, -20) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021