Results for spec/glsl-1.20/compiler/storage-qualfiers/static-write-point-coord.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 1.19649386406
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.20/compiler/storage-qualfiers/static-write-point-coord.frag fail 1.20
errors
  • Successfully compiled fragment shader tests/spec/glsl-1.20/compiler/storage-qualfiers/static-write-point-coord.frag: Fragment shader was successfully compiled to run on hardware.
info
Returncode: 1

Errors:
Successfully compiled fragment shader tests/spec/glsl-1.20/compiler/storage-qualfiers/static-write-point-coord.frag: Fragment shader was successfully compiled to run on hardware.



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.
//
// From section 7.6 of the GLSL 1.20 spec:
//     The following varying variables are available to read from in a fragment shader.
//         ...
//     varying vec2 gl_PointCoord;

#version 120

void g() {
    gl_PointCoord = vec2(0.0);
}

Back to summary