Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 1.02501010895 |
note | Returncode was 1 |
command | /home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.20/compiler/storage-qualfiers/static-write-varying-02.frag fail 1.20 |
errors |
|
info | Returncode: 1 Errors: Successfully compiled fragment shader tests/spec/glsl-1.20/compiler/storage-qualfiers/static-write-varying-02.frag: Fragment shader was successfully compiled to run on hardware. WARNING: 0:18: warning(#398) l-value required assign "x" (can't modify a varying) 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); } |