1#version 450 2 3layout(location =0 ) in int c; 4layout(location =0 ) out int o; 5 6void main() { 7 int i; 8 switch(c) { 9 case 0: o=1; 10 break; 11 o=2; 12 default: break; 13 } 14 o = 3; 15} 16