Result: fail
| Detail | Value |
|---|---|
| Returncode | 1 |
| Time | 0:00:00.129881 |
| Stdout |
Shader source:
/* [config]
* expect_result: fail
* glsl_version: 1.30
* check_link: true
* [end config]
*
* Although it is not explicitly stated in the GLSL spec, in all
* examples, redeclarations of built-in variables (such as
* gl_ClipDistance) preserve the in/out qualifiers.
*
* This test verifies that a shader is rejected if it tries to
* redeclare gl_ClipDistance without an in/out qualifier.
*/
#version 130
float gl_ClipDistance[3];
void main()
{
gl_FragColor = vec4(0.0);
}
|
| Stderr |
Successfully compiled and linked fragment shader /usr/local/lib/piglit/tests/spec/glsl-1.30/compiler/clipping/clip-distance-redeclare-without-inout.frag: |
| Environment |
PIGLIT_SOURCE_DIR="/usr/local/lib/piglit" PIGLIT_PLATFORM="mixed_glx_egl" |
| Command | /usr/local/lib/piglit/bin/glslparsertest /usr/local/lib/piglit/tests/spec/glsl-1.30/compiler/clipping/clip-distance-redeclare-without-inout.frag fail 1.30 --check-link |
| dmesg |