Blender Git Loki
Git Commits -> Revision c10546f
Revision c10546f by Patrick Mours (master) December 4, 2020, 12:04 (GMT) |
Cycles: Add support for shader raytracing in OptiX Support for the AO and bevel shader nodes requires calling "optixTrace" from within the shading VM, which is only allowed from inlined functions to the raygen program or callables. This patch therefore converts the shading VM to use direct callables to make it work. To prevent performance regressions a separate kernel module is compiled and used for this purpose. Reviewed By: brecht Differential Revision: https://developer.blender.org/D9733 |
Commit Details:
Full Hash: c10546f5e9fe2a300b6a21e1e16b22c93060d0e9
Parent Commit: 7f2d356
Lines Changed: +168, -74
6 Modified Paths:
/intern/cycles/device/device_optix.cpp (+99, -48) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+9, -6) (Diff)
/intern/cycles/kernel/kernel_subsurface.h (+22, -7) (Diff)
/intern/cycles/kernel/kernel_types.h (+0, -2) (Diff)
/intern/cycles/kernel/kernel_volume.h (+18, -5) (Diff)
/intern/cycles/kernel/svm/svm.h (+20, -6) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+9, -6) (Diff)
/intern/cycles/kernel/kernel_subsurface.h (+22, -7) (Diff)
/intern/cycles/kernel/kernel_types.h (+0, -2) (Diff)
/intern/cycles/kernel/kernel_volume.h (+18, -5) (Diff)
/intern/cycles/kernel/svm/svm.h (+20, -6) (Diff)