Fix build error on Windows 32bit, alignment was wrong.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Tue, 30 Oct 2018 10:39:44 +0000 (11:39 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Tue, 30 Oct 2018 10:39:44 +0000 (11:39 +0100)
intern/cycles/kernel/kernel_types.h

index f46b06f87f93b987009560c50c784767fbd798c1..230e90c8b312c7f4e3b300e5b27f5c44bc73fda4 100644 (file)
@@ -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;