Program: 70880
Project: 70880
Buggy source:
private static void addVertexInputs(StringBuilder hb,GLSLInfo info){
  appendln(hb,"String_Node_Str");
  appendln(hb,"String_Node_Str");
  if (info.hasVertexNormals() && info.getShading() != Shading.NONE) {
    appendln(hb,"String_Node_Str");
  }
  if (info.hasVertexColors() && info.getColorInterpolation() != ColorInterpolation.NONE) {
    appendln(hb,"String_Node_Str");
  }
  if (info.hasVertexTextures()) {
    appendln(hb,"String_Node_Str");
  }
switch (info.getInstancedRendering()) {
case POINTS:
    appendln(hb);
  appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
if (info.hasInstanceColors() && info.getColorInterpolation() != ColorInterpolation.NONE) {
appendln(hb,"String_Node_Str");
}
if (info.hasInstanceTextures()) {
appendln(hb,"String_Node_Str");
}
break;
case FRAMES:
appendln(hb);
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
if (info.hasInstanceColors() && info.getColorInterpolation() != ColorInterpolation.NONE) {
appendln(hb,"String_Node_Str");
}
if (info.hasInstanceTextures()) {
appendln(hb,"String_Node_Str");
}
break;
case AFFINES:
appendln(hb);
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
if (info.hasInstanceColors() && info.getColorInterpolation() != ColorInterpolation.NONE) {
appendln(hb,"String_Node_Str");
}
if (info.hasInstanceTextures()) {
appendln(hb,"String_Node_Str");
}
break;
case LINES:
appendln(hb);
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
if (info.hasLineLengthOffset()) {
appendln(hb,"String_Node_Str");
}
if (info.hasInstanceColors() && info.getColorInterpolation() != ColorInterpolation.NONE) {
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
}
if (info.hasInstanceTextures()) {
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
}
break;
case NONE:
break;
}
appendln(hb);
}

Fixed version (ground truth):
private static void addVertexInputs(StringBuilder hb,GLSLInfo info){
  appendln(hb,"String_Node_Str");
  appendln(hb,"String_Node_Str");
  if (info.hasVertexNormals() && info.getShading() != Shading.NONE) {
    appendln(hb,"String_Node_Str");
  }
  if (info.hasVertexColors() && info.getColorInterpolation() != ColorInterpolation.NONE) {
    appendln(hb,"String_Node_Str");
  }
  if (info.hasVertexTextures()) {
    appendln(hb,"String_Node_Str");
  }
switch (info.getInstancedRendering()) {
case POINTS:
    appendln(hb);
  appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
if (info.hasInstanceColors() && info.getColorInterpolation() != ColorInterpolation.NONE) {
appendln(hb,"String_Node_Str");
}
if (info.hasInstanceTextures()) {
appendln(hb,"String_Node_Str");
}
break;
case FRAMES:
appendln(hb);
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
if (info.hasInstanceColors() && info.getColorInterpolation() != ColorInterpolation.NONE) {
appendln(hb,"String_Node_Str");
}
if (info.hasInstanceTextures()) {
appendln(hb,"String_Node_Str");
}
break;
case AFFINES:
appendln(hb);
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
if (info.hasInstanceColors() && info.getColorInterpolation() != ColorInterpolation.NONE) {
appendln(hb,"String_Node_Str");
}
if (info.hasInstanceTextures()) {
appendln(hb,"String_Node_Str");
}
break;
case LINES:
appendln(hb);
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
if (info.hasLineLengthOffset()) {
appendln(hb,"String_Node_Str");
}
if (info.hasLineColors() && info.getColorInterpolation() != ColorInterpolation.NONE) {
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
}
if (info.hasInstanceColors() && info.getColorInterpolation() != ColorInterpolation.NONE) {
appendln(hb,"String_Node_Str");
}
if (info.hasLineTextures()) {
appendln(hb,"String_Node_Str");
appendln(hb,"String_Node_Str");
}
if (info.hasInstanceTextures()) {
appendln(hb,"String_Node_Str");
}
break;
case NONE:
break;
}
appendln(hb);
}