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
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-02-23 19:10:10 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-02-23 19:10:10 +0400
commit334416bdaf6b3fd4c61606fdcacf1509f03088f7 (patch)
tree55f9a488045e7bbd6c6b864b32b639cfd4bf1b49 /intern/cycles/kernel/kernel_types.h
parent6cfb67b549f7fff4d446e79e78e83b755345c2ef (diff)
Cycles: fix cuda kernel not getting rebuilt correctly after changes, due to
refactoring that changed variable names, also fixed OpenCL compile issue with advanced shading.
Diffstat (limited to 'intern/cycles/kernel/kernel_types.h')
-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 00635282202..9f4d5b00e2c 100644
--- a/intern/cycles/kernel/kernel_types.h
+++ b/intern/cycles/kernel/kernel_types.h
@@ -181,7 +181,7 @@ typedef enum PassType {
typedef float3 PathThroughput;
-struct PathRadiance {
+typedef struct PathRadiance {
int use_light_pass;
float3 emission;
@@ -202,16 +202,16 @@ struct PathRadiance {
float3 indirect_diffuse;
float3 indirect_glossy;
float3 indirect_transmission;
-};
+} PathRadiance;
-struct BsdfEval {
+typedef struct BsdfEval {
int use_light_pass;
float3 diffuse;
float3 glossy;
float3 transmission;
float3 transparent;
-};
+} BsdfEval;
#else