Status: fail
Result: fail
| Detail | Value |
|---|---|
| returncode | 1 |
| time | 0.132703781128 |
| note | Returncode was 1 |
| errors |
|
| command | /usr/local/src/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.30/compiler/storage-qualifiers/static-write-clip-distance.frag fail 1.30 |
| info | Returncode: 1
Errors:
Successfully compiled fragment shader tests/spec/glsl-1.30/compiler/storage-qualifiers/static-write-clip-distance.frag:
Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.30
// [end config]
//
// From section 4.3.4 of the GLSL 1.30 spec:
// Variables declared as in or centroid in may not be written
// to during shader execution.
//
// From section 7.2 of the GLSL 1.30 spec:
// The built-in special variables that are accessible from a
// fragment shader are intrinsically declared as follows:
// ...
// in float gl_ClipDistance[];
#version 130
void g() {
gl_ClipDistance[0] = 0.0;
}
|