Result: fail
Detail | Value |
---|---|
Returncode | 1 |
Time | 0:00:00.153535 |
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: * * "Fragment shaders can have an input layout only for redeclaring the * built-in variable gl_FragCoord (see section 7.2 Fragment Shader * Special Variables). The layout qualifier identifiers for * gl_FragCoord are * * layout-qualifier-id: * origin_upper_left * pixel_center_integer" * * "If gl_FragCoord is redeclared in any fragment shader in a program, * it must be redeclared in all the fragment shaders in that program * that have a static use gl_FragCoord. All redeclarations of * gl_FragCoord in all fragment shaders in a single program must have * the same set of qualifiers." * * Tests the conflicting redeclarations of gl_FragCoord within same fragment * shader. Notice the second redeclaration is made without any layout * qualifiers. */ #version 150 layout(origin_upper_left, pixel_center_integer) in vec4 gl_FragCoord; in vec4 gl_FragCoord; out vec4 fragcolor; void main() { fragcolor = gl_FragCoord.xyzz; } |
Stderr |
Successfully compiled fragment shader /Users/vlee/workspace/piglit/tests/spec/glsl-1.50/compiler/fragment_coord_conventions/layout-qualifiers-conflicting-case-5.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/layout-qualifiers-conflicting-case-5.frag fail 1.50 |
dmesg |