Status: fail
Result: fail
| Detail | Value |
|---|---|
| returncode | 1 |
| time | 0.293732881546 |
| note | Returncode was 1 |
| errors |
|
| command | /home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-predecrement.vert fail 1.20 |
| info | Returncode: 1
Errors:
Successfully compiled vertex shader tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-predecrement.vert:
Output:
Shader source:
/* [config]
* expect_result: fail
* glsl_version: 1.20
* [end config]
*
* From page 35 (page 41 of the PDF) of the GLSL 1.20 spec:
*
* "In total, only the following operators are allowed to operate on
* arrays and structures as whole entities:
*
* field or method selector .
* equality == !=
* assignment =
* indexing (arrays only) []"
*/
#version 120
uniform vec4 a[2];
void main()
{
gl_Position = (--a)[0];
}
|