3 GL_MESA_shader_integer_functions
5 [vertex shader passthrough]
9 #extension GL_MESA_shader_integer_functions : enable
11 // Test overload resolution where all candidates require implicit
12 // conversions. Under unextended GLSL 1.30, resolution is ambiguous,
13 // since both functions require implicit conversions.
17 void foo(float x, int y, float z)
19 result = vec4(1.0, 0.0, 0.0, 1.0);
22 void foo(float x, int y, int z)
25 result = vec4(0.0, 1.0, 0.0, 1.0);
39 probe all rgba 0.0 1.0 0.0 1.0