mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-09 20:10:06 +00:00
11 lines
196 B
GLSL
11 lines
196 B
GLSL
#version 310 es
|
|
void main() {
|
|
switch (gl_InstanceIndex) {
|
|
case 0: return;
|
|
case 1: gl_Position = vec4(0.0); break;
|
|
case 2: return;
|
|
case 3: return;
|
|
}
|
|
gl_Position.x += 0.123;
|
|
}
|