Result: fail
Detail | Value |
---|---|
Returncode | 1 |
Time | 0:00:00.097206 |
Stdout |
Shader source: // [config] // expect_result: pass // glsl_version: 1.10 // check_link: true // [end config] // // Binding more than one attribute name to the same location is referred // to as aliasing. It is allowed only on vertex shader input variables // in OpenGL (2.0 and above). Check that vertex shader compiles and links // successfully in case of overlapping input attribute locations. This // shader uses attributes of same size with same locations. #version 110 #extension GL_ARB_explicit_attrib_location : require layout(location=0) in vec4 p0; layout(location=0) in vec4 p1; uniform int x; void main() { if (x == 0) gl_Position = p0; else if (x == 1) gl_Position = p1; else gl_Position = vec4(0.0); } |
Stderr |
Failed to compile vertex shader /Users/vlee/workspace/piglit/tests/spec/arb_explicit_attrib_location/1.10/compiler/overlapping-attrib-locations-1.vert: ERROR: 0:14: '' : extension 'GL_ARB_explicit_attrib_location' is not supported ERROR: 0:16: 'layout' : syntax error: syntax error |
Environment |
PIGLIT_SOURCE_DIR="/Users/vlee/workspace/piglit" PIGLIT_PLATFORM="mixed_glx_egl" |
Command | /Users/vlee/workspace/piglit/bin/glslparsertest /Users/vlee/workspace/piglit/tests/spec/arb_explicit_attrib_location/1.10/compiler/overlapping-attrib-locations-1.vert pass 1.10 --check-link |
dmesg |