Results for spec@glsl-1.30@compiler@clipping@clip-distance-redeclare-without-inout.vert

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.041945
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_Position = vec4(0.0);
}

Stderr
couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable
Successfully compiled and linked vertex shader /root/piglit/tests/spec/glsl-1.30/compiler/clipping/clip-distance-redeclare-without-inout.vert: (no compiler output)
Environment
PIGLIT_SOURCE_DIR="/root/piglit" PIGLIT_PLATFORM="mixed_glx_egl"
Command /root/piglit/bin/glslparsertest /root/piglit/tests/spec/glsl-1.30/compiler/clipping/clip-distance-redeclare-without-inout.vert fail 1.30 --check-link
dmesg

        

Back to summary