Status: fail
Result: fail
| Detail | Value |
|---|---|
| returncode | 1 |
| time | 0.12552690506 |
| note | Returncode was 1 |
| errors |
|
| command | /usr/local/src/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-of-array-function-parameter-definition.vert fail 1.20 |
| info | Returncode: 1
Errors:
Successfully compiled vertex shader tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-of-array-function-parameter-definition.vert:
Output:
Shader source:
/* [config]
* expect_result: fail
* glsl_version: 1.20
* [end config]
*
* From page 19 (page 25 of the PDF) of the GLSL 1.20 spec:
*
* "Only one-dimensional arrays may be declared."
*/
#version 120
attribute vec4 vert;
void foo(vec4 [2] x[2])
{
gl_Position = vert;
}
void main()
{
gl_Position = vert;
}
|