Fix T78776: Cycles OpenCL error after recent changes for holdouts
This commit is contained in:
parent
9dbe9a753a
commit
d8e648c352
Notes:
blender-bot
2023-02-14 09:09:43 +01:00
Referenced by issue #78776, Split kernel error: failed to load Kernel_path_init on openCL
|
@ -288,7 +288,7 @@ ccl_device_forceinline bool kernel_path_shader_apply(KernelGlobals *kg,
|
|||
if (kernel_data.background.transparent) {
|
||||
L->transparent += average(holdout_weight * throughput);
|
||||
}
|
||||
if (holdout_weight == make_float3(1.0f, 1.0f, 1.0f)) {
|
||||
if (isequal_float3(holdout_weight, make_float3(1.0f, 1.0f, 1.0f))) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue