From 0d6976ad0ce4570e286ca33b852ee3b6a07a09ab Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 29 Nov 2012 00:43:50 +0000 Subject: Fix #32900: object motion blur not working on the GPU. To make this work I disabled motion blurring of scale animation, probably not a big loss in practice since it's not so common to animate this, can be added back later. --- intern/cycles/kernel/kernel_types.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'intern/cycles/kernel/kernel_types.h') diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h index 977fb8c4fd4..a7bf6b28e7e 100644 --- a/intern/cycles/kernel/kernel_types.h +++ b/intern/cycles/kernel/kernel_types.h @@ -29,7 +29,7 @@ CCL_NAMESPACE_BEGIN /* constants */ -#define OBJECT_SIZE 22 +#define OBJECT_SIZE 18 #define LIGHT_SIZE 4 #define FILTER_TABLE_SIZE 256 #define RAMP_TABLE_SIZE 256 @@ -112,13 +112,9 @@ CCL_NAMESPACE_BEGIN #define __AO__ #define __CAMERA_MOTION__ #define __ANISOTROPIC__ - -#ifndef __KERNEL_CUDA__ #define __OBJECT_MOTION__ #endif -#endif - //#define __SOBOL_FULL_SCREEN__ /* Shader Evaluation */ -- cgit v1.2.3