Status: fail
Result: fail
| Detail | Value |
|---|---|
| returncode | 1 |
| time | 0.45207118988 |
| note | Returncode was 1 |
| errors |
|
| command | /home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.20/compiler/storage-qualfiers/static-write-varying-01.frag fail 1.20 |
| info | Returncode: 1
Errors:
Successfully compiled fragment shader tests/spec/glsl-1.20/compiler/storage-qualfiers/static-write-varying-01.frag:
Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.20
// [end config]
//
// From section 4.3.6 of the GLSL 1.20 spec:
// A fragment shader can not write to a varying variable.
#version 120
varying float x;
void f(out float y) {
y = 0.0;
}
void g() {
f(x);
}
|