mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-24 19:59:40 +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;
|
|
}
|