Cycles: Implement preliminary test for volume stack update from SSS
[blender-staging.git] / intern / cycles / kernel / kernel_types.h
index 34585ad8de6e3d2702298649e9edc134efb341a1..2fe1cd8707213d1004fd8ac61adaa53d5afda329 100644 (file)
@@ -616,9 +616,11 @@ enum ShaderDataFlag {
        SD_TRANSFORM_APPLIED = 2097152,         /* vertices have transform applied */
        SD_NEGATIVE_SCALE_APPLIED = 4194304,    /* vertices have negative scale applied */
        SD_OBJECT_HAS_VOLUME = 8388608,         /* object has a volume shader */
+       SD_OBJECT_INTERSECTS_VOLUME = 16777216, /* object intersects AABB of an object with volume shader */
 
        SD_OBJECT_FLAGS = (SD_HOLDOUT_MASK|SD_OBJECT_MOTION|SD_TRANSFORM_APPLIED|
-                          SD_NEGATIVE_SCALE_APPLIED|SD_OBJECT_HAS_VOLUME)
+                          SD_NEGATIVE_SCALE_APPLIED|SD_OBJECT_HAS_VOLUME|
+                          SD_OBJECT_INTERSECTS_VOLUME)
 };
 
 struct KernelGlobals;