Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-12-01 10:54:40 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-12-01 11:55:40 +0300
commit607150d0581db65f30a5941867bb853e88ae7e20 (patch)
tree253f5749af4116158c2a2a5c20b3bc3e3953f9bd /intern
parentd1c46c7b35cbf97bf5020c369dd9a708f5eac9db (diff)
Fix T46898: OpenCL Fails to compile after recent SSS changes
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/kernel/kernel_types.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h
index 017126d05e3..04d013ceb9c 100644
--- a/intern/cycles/kernel/kernel_types.h
+++ b/intern/cycles/kernel/kernel_types.h
@@ -761,7 +761,7 @@ struct SubsurfaceIntersection
float3 weight[BSSRDF_MAX_HITS];
int num_hits;
- Intersection hits[BSSRDF_MAX_HITS];
+ struct Intersection hits[BSSRDF_MAX_HITS];
float3 Ng[BSSRDF_MAX_HITS];
};
@@ -771,12 +771,12 @@ struct SubsurfaceIndirectRays
bool need_update_volume_stack;
bool tracing;
PathState state[BSSRDF_MAX_HITS];
- PathRadiance direct_L;
+ struct PathRadiance direct_L;
int num_rays;
- Ray rays[BSSRDF_MAX_HITS];
+ struct Ray rays[BSSRDF_MAX_HITS];
float3 throughputs[BSSRDF_MAX_HITS];
- PathRadiance L[BSSRDF_MAX_HITS];
+ struct PathRadiance L[BSSRDF_MAX_HITS];
};
/* Constant Kernel Data