Invert Color Cycles Node
[blender.git] / intern / cycles / kernel / svm / svm.h
index 443715600ca1b452de7598c829c8c9cd8d44769f..5fde44e276990dfc15f5dd07957922dfe0df6876 100644 (file)
@@ -130,6 +130,7 @@ CCL_NAMESPACE_END
 #include "svm_geometry.h"
 #include "svm_hsv.h"
 #include "svm_image.h"
+#include "svm_invert.h"
 #include "svm_light_path.h"
 #include "svm_magic.h"
 #include "svm_mapping.h"
@@ -257,6 +258,9 @@ __device_noinline void svm_eval_nodes(KernelGlobals *kg, ShaderData *sd, ShaderT
                        case NODE_VALUE_V:
                                svm_node_value_v(kg, sd, stack, node.y, &offset);
                                break;
+                       case NODE_INVERT:
+                               svm_node_invert(sd, stack, node.y, node.z, node.w);
+                               break;
                        case NODE_MIX:
                                svm_node_mix(kg, sd, stack, node.y, node.z, node.w, &offset);
                                break;