Results for spec/glsl-1.30/compiler/storage-qualifiers/static-write-in-indirect.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.12063908577
note
Returncode was 1
errors
  • Successfully compiled vertex shader tests/spec/glsl-1.30/compiler/storage-qualifiers/static-write-in-indirect.vert:
command
/usr/local/src/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.30/compiler/storage-qualifiers/static-write-in-indirect.vert fail 1.30
info
Returncode: 1

Errors:
Successfully compiled vertex shader tests/spec/glsl-1.30/compiler/storage-qualifiers/static-write-in-indirect.vert: 


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