From 68dd7617d705dd255b29b99074afa107ce38031e Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 17 Feb 2021 01:47:18 +0100 Subject: Cycles: add utility functions for zero float2/float3/float4/transform Ref D8237, T78710 --- intern/cycles/kernel/kernel_light_background.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/cycles/kernel/kernel_light_background.h') diff --git a/intern/cycles/kernel/kernel_light_background.h b/intern/cycles/kernel/kernel_light_background.h index 2a685c0adfa..f0f64ce8704 100644 --- a/intern/cycles/kernel/kernel_light_background.h +++ b/intern/cycles/kernel/kernel_light_background.h @@ -277,7 +277,7 @@ ccl_device float3 background_portal_sample(KernelGlobals *kg, portal--; } - return make_float3(0.0f, 0.0f, 0.0f); + return zero_float3(); } ccl_device_inline float3 background_sun_sample(KernelGlobals *kg, -- cgit v1.2.3