Merge remote-tracking branch 'origin/blender-v2.93-release'
[blender.git] / intern / cycles / kernel / kernel_types.h
index c661d77edb1f74ba1f640e2fadf0a7eeaa85f08d..74fa2826cd43f21759915093d6e86f7ced003b3a 100644 (file)
@@ -891,6 +891,8 @@ enum ShaderDataFlag {
   SD_HAS_CONSTANT_EMISSION = (1 << 27),
   /* Needs to access attributes for volume rendering */
   SD_NEED_VOLUME_ATTRIBUTES = (1 << 28),
+  /* Shader has emission */
+  SD_HAS_EMISSION = (1 << 29),
 
   SD_SHADER_FLAGS = (SD_USE_MIS | SD_HAS_TRANSPARENT_SHADOW | SD_HAS_VOLUME | SD_HAS_ONLY_VOLUME |
                      SD_HETEROGENEOUS_VOLUME | SD_HAS_BSSRDF_BUMP | SD_VOLUME_EQUIANGULAR |