Status: fail
Result: fail
| Detail | Value |
|---|---|
| returncode | 1 |
| time | 0.233999967575 |
| note | Returncode was 1 |
| errors |
|
| info | Returncode: 1
Errors:
Failed to compile fragment shader tests/spec/arb_explicit_attrib_location\1.20\compiler\in-04.frag: Fragment shader failed to compile with the following errors:
ERROR: 0:17: error(#355) layout location can only set once.
ERROR: error(#273) 1 compilation errors. No code generated
Output:
Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.20
// extension: GL_ARB_explicit_attrib_location
// [end config]
//
// From the GL_ARB_explicit_attrib_location spec:
//
// "Vertex shaders allow input layout qualifiers on input variable
// declarations."
//
// Just as output layouts are not allowed in vertex shaders, input
// layouts are not allowed in fragment shaders.
#version 120
#extension GL_ARB_explicit_attrib_location: require
layout(location = 0) in vec4 color;
void main()
{
gl_FragColor = color;
}
|