[Bf-blender-cvs] [c937a42] master: Fix Cycles OpenCL address space compile error with amdgpu-pro drivers on Linux.

Brecht Van Lommel noreply at git.blender.org
Sat Jul 30 18:26:31 CEST 2016


Commit: c937a42c6171dc42c7ce477f2b794ce04f02763e
Author: Brecht Van Lommel
Date:   Sat Jul 30 15:17:30 2016 +0200
Branches: master
https://developer.blender.org/rBc937a42c6171dc42c7ce477f2b794ce04f02763e

Fix Cycles OpenCL address space compile error with amdgpu-pro drivers on Linux.

===================================================================

M	intern/cycles/kernel/kernel_types.h

===================================================================

diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h
index b7021db..fd2e70b 100644
--- a/intern/cycles/kernel/kernel_types.h
+++ b/intern/cycles/kernel/kernel_types.h
@@ -734,8 +734,6 @@ enum ShaderDataFlag {
 	                   SD_OBJECT_INTERSECTS_VOLUME)
 };
 
-struct KernelGlobals;
-
 #ifdef __SPLIT_KERNEL__
 #  define SD_THREAD (get_global_id(1) * get_global_size(0) + get_global_id(0))
 #  if defined(__SPLIT_KERNEL_AOS__)




More information about the Bf-blender-cvs mailing list