Status: fail
Result: fail
| Detail | Value |
|---|---|
| returncode | 1 |
| time | 0.127512931824 |
| note | Returncode was 1 |
| errors |
|
| command | /usr/local/src/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-assign-implicit-size.vert fail 1.20 |
| info | Returncode: 1
Errors:
Successfully compiled vertex shader tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-assign-implicit-size.vert:
Output:
Shader source:
/* [config]
* expect_result: fail
* glsl_version: 1.20
* [end config]
*
* From page 20 (page 26 of the PDF) of the GLSL 1.20 spec:
*
* "However, implicitly sized arrays cannot be assigned to. Note, this is
* a rare case that initializers and assignments appear to have different
* semantics."
*/
#version 120
uniform float a[5];
void main()
{
float b[];
b = a;
gl_Position = vec4(0);
}
|