Blender Git Loki
Git Commits -> Revision be558d2
Revision be558d2 by Brecht Van Lommel (master) October 21, 2021, 19:25 (GMT) |
Fix T92363: OptiX fails with ambient occlusion node, after recent changes This triggered a compiler bug where it does not handle the sub.s16 PTX instruction. Instead refactor the code so we don't need to do uint16_t subtraction at all. Also update OptiX device to remove the AO pass direct callable. Thanks Patrick Mours for figuring this out. |
Commit Details:
Full Hash: be558d2d9775b3d9d1f84d316d2675a205932d92
Parent Commit: aea2287
Lines Changed: +8, -17
6 Modified Paths:
/intern/cycles/device/optix/device_impl.cpp (+0, -3) (Diff)
/intern/cycles/device/optix/device_impl.h (+0, -1) (Diff)
/intern/cycles/kernel/integrator/integrator_shade_shadow.h (+1, -0) (Diff)
/intern/cycles/kernel/integrator/integrator_shade_surface.h (+4, -6) (Diff)
/intern/cycles/kernel/integrator/integrator_shade_volume.h (+2, -3) (Diff)
/intern/cycles/kernel/kernel_path_state.h (+1, -4) (Diff)
/intern/cycles/device/optix/device_impl.h (+0, -1) (Diff)
/intern/cycles/kernel/integrator/integrator_shade_shadow.h (+1, -0) (Diff)
/intern/cycles/kernel/integrator/integrator_shade_surface.h (+4, -6) (Diff)
/intern/cycles/kernel/integrator/integrator_shade_volume.h (+2, -3) (Diff)
/intern/cycles/kernel/kernel_path_state.h (+1, -4) (Diff)