14 lines
131 B
GLSL
14 lines
131 B
GLSL
#version 120
|
|
/* PASS */
|
|
|
|
uniform bool a;
|
|
uniform int b;
|
|
|
|
void main()
|
|
{
|
|
float x;
|
|
|
|
x = (a) ? 2.0 : b;
|
|
gl_Position = vec4(x);
|
|
}
|