Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 0.637457847595 |
note | Returncode was 1 |
command | /home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/arb_explicit_attrib_location/1.20/compiler/varying-01.vert fail 1.20 GL_ARB_explicit_attrib_location |
errors |
|
info | Returncode: 1 Errors: Successfully compiled vertex shader tests/spec/arb_explicit_attrib_location/1.20/compiler/varying-01.vert: Vertex shader was successfully compiled to run on hardware. Output: Shader source: // [config] // expect_result: fail // glsl_version: 1.20 // require_extensions: GL_ARB_explicit_attrib_location // [end config] // // The 'location' layout qualifier can only be used with 'in' and 'out'. Also, // from the GL_ARB_explicit_attrib_location spec: // // "Vertex shaders cannot have output layout qualifiers." #version 120 #extension GL_ARB_explicit_attrib_location: require attribute vec4 vertex; layout(location = 0) varying vec4 color; void main() { gl_Position = vertex; color = vec4(1.0); } |