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

Overview

Status: fail
Result: fail

Back to summary

Details

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

Errors:
Successfully compiled fragment shader tests/spec/glsl-1.10/compiler/storage-qualfiers/static-write-tex-coord.frag: Fragment shader was successfully compiled to run on hardware.
 WARNING: 0:17: warning(#398) l-value required assign "gl_TexCoord" (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 vec4 gl_TexCoord[];

#version 110

void g() {
    gl_TexCoord[0] = vec4(0.0);
}

Back to summary