Cycles: Fix compilation error of OpenCL mega kernel
Was some mismatch in address space. Seems to be caused by recent additions. Additionally, moved decoupled ray marching functions under ifdef, so they don't try to use malloc() functions. Thanks Mai for testing the patch!
This commit is contained in:
@@ -142,7 +142,7 @@ ccl_device_inline void kernel_write_denoising_shadow(KernelGlobals *kg, ccl_glob
|
||||
|
||||
ccl_device_inline void kernel_update_denoising_features(KernelGlobals *kg,
|
||||
ShaderData *sd,
|
||||
ccl_global PathState *state,
|
||||
ccl_addr_space PathState *state,
|
||||
PathRadiance *L)
|
||||
{
|
||||
#ifdef __DENOISING_FEATURES__
|
||||
|
Reference in New Issue
Block a user