4 // require_extensions: GL_MESA_shader_integer_functions
7 // Test overload resolution where all candidates require implicit
8 // conversions. Under unextended GLSL 1.30, resolution is ambiguous,
9 // since both functions require implicit conversions. With MESA_shader_integer_functions,
10 // this case is still ambiguous, since neither function is better than the other.
13 #extension GL_MESA_shader_integer_functions : enable
15 void foo(float x, int y, float z) {} /* better for `y` */
16 void foo(float x, float y, int z) {} /* better for `z` */