From 7c0d37deca32512ff38120bf1736160110fe97cb Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 30 Oct 2018 11:39:44 +0100 Subject: Fix build error on Windows 32bit, alignment was wrong. --- intern/cycles/kernel/kernel_types.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h index f46b06f87f9..230e90c8b31 100644 --- a/intern/cycles/kernel/kernel_types.h +++ b/intern/cycles/kernel/kernel_types.h @@ -1278,13 +1278,11 @@ typedef struct KernelFilm { float mist_start; float mist_inv_depth; float mist_falloff; - + int pass_denoising_data; int pass_denoising_clean; int denoising_flags; - int pad1, pad2; - /* XYZ to rendering color space transform. float4 instead of float3 to * ensure consistent padding/alignment across devices. */ float4 xyz_to_r; -- cgit v1.2.3