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:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-09-16 10:46:31 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-09-16 10:46:31 +0400
commitc9f0c20e4800a8179560ec678a8ab8cb48283cf2 (patch)
tree9e839c4999b962a2c6c726534853af1eba4d5f5a
parent3ac640b19e034513aa0c0807fb0978ea7ef89e80 (diff)
Cycle: Add a bit of explanation why we're using such a dirty hack
-rw-r--r--intern/cycles/kernel/kernel_types.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h
index a8c24f090e6..1f01622e349 100644
--- a/intern/cycles/kernel/kernel_types.h
+++ b/intern/cycles/kernel/kernel_types.h
@@ -528,6 +528,17 @@ typedef enum AttributeStandard {
#define MAX_CLOSURE 1
#endif
+/* TODO(sergey): This is rather nasty bug happening in here, which
+ * could be simply a compilers bug for which we can't find a generic
+ * platform indipendent workaround. Also even if it's a compiler
+ * issue, it's not so simple to upgrade the compiler in the release
+ * environment for linux and doing it so closer to the release is
+ * rather a risky business.
+ *
+ * For this release it's probably safer to stick with such a rather
+ * dirty solution, and look for a cleaner fix during the next release
+ * cycle.
+ */
typedef struct ShaderClosure {
ClosureType type;
float3 weight;