Results for spec@glsl-1.50@compiler@fragment_coord_conventions@use-before-redeclaration-2.frag

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.133555
Stdout
Shader source:
/* [config]
 * expect_result: fail
 * glsl_version: 1.50
 * check_link: false
 * [end config]
 */

/* Section 4.3.8.1 (Input Layout Qualifiers) of the GLSL 1.50 spec says:
 *
 *
 *    "Within any shader, the first redeclarations of gl_FragCoord must appear
 *     before any use of gl_FragCoord."
 *
 * Tests using gl_FragCoord before the redeclaration with no layout qualifiers.
 */

#version 150

vec4 p = gl_FragCoord;
in vec4 gl_FragCoord;

void main()
{
}

Stderr
Successfully compiled fragment shader /Users/vlee/workspace/piglit/tests/spec/glsl-1.50/compiler/fragment_coord_conventions/use-before-redeclaration-2.frag: (no compiler output)
Environment
PIGLIT_SOURCE_DIR="/Users/vlee/workspace/piglit" PIGLIT_PLATFORM="mixed_glx_egl"
Command /Users/vlee/workspace/piglit/bin/glslparsertest /Users/vlee/workspace/piglit/tests/spec/glsl-1.50/compiler/fragment_coord_conventions/use-before-redeclaration-2.frag fail 1.50
dmesg

        

Back to summary