Cycles:
[blender.git] / intern / cycles / kernel / svm / svm.h
index 7f0bb3163a1beab3001ec2028abd8a084dd8749f..e5df880b5967f6ed0e7610f14b7b51f04dac3e4c 100644 (file)
@@ -359,10 +359,10 @@ __device_noinline void svm_eval_nodes(KernelGlobals *kg, ShaderData *sd, ShaderT
                        case NODE_LAYER_WEIGHT:
                                svm_node_layer_weight(sd, stack, node);
                                break;
+#ifdef __EXTRA_NODES__
                        case NODE_WIREFRAME:
                                svm_node_wireframe(kg, sd, stack, node.y, node.z, node.w);
                                break;
-#ifdef __EXTRA_NODES__
                        case NODE_WAVELENGTH:
                                svm_node_wavelength(sd, stack, node.y, node.z);
                                break;