#version 130 void main() { float result = mix(-4.10000, -0.33300, false); vec2 result = mix( vec2(-0.33,-10.0), vec2(sqrt(-1.0), 33.4), bvec2(false, true) ); vec3 result = mix( vec3(0.0, -22.0, log(0.0)), vec3(-11.0, 0.9, 32.0), bvec3(false, true, true)); vec4 result = mix( vec4(6.6, -1.2, 8.0, 0.1), vec4(0.222, 8.9, -8.0, -0.1), bvec4(false, false, true, false)); gl_Position = vec4(1); }