Results for spec/glsl-1.10/compiler/storage-qualfiers/static-write-fog-frag-coord.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.587255001068
note
Returncode was 1
command
/home/airlied/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.10/compiler/storage-qualfiers/static-write-fog-frag-coord.frag fail 1.10
errors
  • Successfully compiled fragment shader tests/spec/glsl-1.10/compiler/storage-qualfiers/static-write-fog-frag-coord.frag: Fragment shader was successfully compiled to run on hardware.
  • WARNING: 0:17: warning(#398) l-value required assign "gl_FogFragCoord" (can't modify a varying)
info
Returncode: 1

Errors:
Successfully compiled fragment shader tests/spec/glsl-1.10/compiler/storage-qualfiers/static-write-fog-frag-coord.frag: Fragment shader was successfully compiled to run on hardware.
 WARNING: 0:17: warning(#398) l-value required assign "gl_FogFragCoord" (can't modify a varying)


Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.10
// [end config]
//
// From section 4.3.6 of the GLSL 1.10 spec:
//     A fragment shader can not write to a varying variable.
//
// From section 7.6 of the GLSL 1.10 spec:
//     The following varying variables are available to read from in a fragment shader.
//         ...
//     varying float gl_FogFragCoord;

#version 110

void g() {
    gl_FogFragCoord = 0.0;
}

Back to summary