Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 0.324776172638 |
note | Returncode was 1 |
command | /home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/arb_explicit_attrib_location/1.10/compiler/layout-10.vert pass 1.10 GL_ARB_explicit_attrib_location |
errors |
|
info | Returncode: 1 Errors: Failed to compile vertex shader tests/spec/arb_explicit_attrib_location/1.10/compiler/layout-10.vert: 0(17) : error C0000: syntax error, unexpected '(', expecting "::" at token "(" 0(21) : error C5060: out can't be used with non-varying varying_colors 0(22) : error C5060: out can't be used with non-varying n Output: Shader source: // [config] // expect_result: pass // glsl_version: 1.10 // require_extensions: GL_ARB_explicit_attrib_location // [end config] // // Even though the specified locations overlap, the spec says that a *link* // error is generated. The changes to section 2.11.3 say: // // "LinkProgram will fail if the attribute bindings assigned by // BindAttribLocation do not leave not enough space to assign a location // for an active matrix attribute or an active attribute array, both of // which require multiple contiguous generic attributes." #version 110 #extension GL_ARB_explicit_attrib_location: require layout(location = 0) in vec4 vertex; layout(location = 1) in mat4 mvp; layout(location = 2) in vec4 normal; out vec4 varying_colors[4]; out vec4 n; void main() { gl_Position = mvp * vertex; n = normal; } |