Results for spec/glsl-1.30/compiler/storage-qualifiers/static-write-in-02.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.294476985931
note
Returncode was 1
errors
  • Successfully compiled fragment shader tests/spec/glsl-1.30/compiler/storage-qualifiers/static-write-in-02.frag:
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.30/compiler/storage-qualifiers/static-write-in-02.frag fail 1.30
info
Returncode: 1

Errors:
Successfully compiled fragment shader tests/spec/glsl-1.30/compiler/storage-qualifiers/static-write-in-02.frag: 


Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.30
// [end config]
//
// From page 31 (37 of pdf) of the GLSL 1.30 spec:
//     Variables declared as in or centroid in may not be written
//     to during shader execution.


#version 130

in float x;

void f(out float y) {
    y = 0.0;
}

void g() {
    f(x);
}

Back to summary