• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 310 es
2void main() {
3  switch (gl_InstanceIndex) {
4    case 0: return;
5    case 1: gl_Position = vec4(0.0); break;
6    case 2: return;
7    case 3: return;
8  }
9  gl_Position.x += 0.123;
10}
11