Intel OpenGL Conformance Test Version ENG (Jul 4 2011 17:26:41) CLI options echo: oglconform -z -s -suite all -v 2 -D 115 -test glsl-autointconv negative.function.ambiguousMatch Window will be recreated 1 times. Window 0 will run 1 testcases on config with id 115. Total of 1 testcases will be executed. Setup Report. Verbose level = 2. Path inactive. Visual Report for ID 115 (24 bits). ID |ACCELERA|DB |REND_T |SURF_T |C_BUF_T |BUF_S |RED_S | 115| 1| 1| gl| wipbpx| rgba| 24| 8| GREEN_S |BLUE_S |ALPHA_S |DEPTH_S |STENC_S |ACCUM_S |SPL_BUF |SAMPLES | 8| 8| 0| 24| 8| 48| 0| 0| SRGB |TEX_RGB |TEX_RGBA|CAVEAT |SWAP |M_PBUF_W|M_PBUF_H|M_PBUF_P -1| 0| 0| slow| undef| 0| 0| 0 OpenGL Report. Vendor - 'Tungsten Graphics, Inc' Renderer - 'Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2' Version - '2.1 Mesa 7.12-devel (git-a221807)' GLSL Version - '1.20' >> GLSL Auto Int Conversion (glsl-autointconv) test: --> 7.3.3 - negative.function.ambiguousMatch subcase: Compile status = GL_TRUE after compiling a vertex shader Id = 2. Link status = GL_TRUE after linking a program Id = 1. ! Negative Test failed. ! The operation (compiling or linking) should fail but both succeeded. Subcase Id : 7.3.3 Subcase Name: negative.function.ambiguousMatch Title: Ambiguous function parameter type matching Test Purpose: Verify compilation error when ambiguous function parameter matching occurs. Pass Criteria: The test will pass if no OpenGL errors are reported during setup steps, and the shaders compilation fail. -------------------------- Test Function: float func(ivec4 i, float f) { return i[3]+f+100; } float func(vec4 f, int i) { return f[3]+i+200; } bool TestFunction(void) { ivec4 i4 = ivec4(10); vec4 f4 = vec4(20); int i = 1; float f = 2; bool b1 = func(f4,i) == 220; bool b2 = func(i4,f) == 112; bool b3 = func(i4,i) == 333; if (b1 && b2 && b3) return false; else return true; } ---------------------- --< 7.3.3 - negative.function.ambiguousMatch subcase failed. << GLSL Auto Int Conversion (glsl-autointconv) test failed. (1 of 1 subcases) Intel Conformance failed. Total Passed : 0 Total Failed : 1 Total Not run: 0