Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 0.12380695343 |
note | Returncode was 1 |
errors |
|
command | /usr/local/src/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.30/compiler/clipping/clip-distance-implicit-length.vert fail 1.30 |
info | Returncode: 1 Errors: Successfully compiled vertex shader tests/spec/glsl-1.30/compiler/clipping/clip-distance-implicit-length.vert: Output: Shader source: /* [config] * expect_result: fail * glsl_version: 1.30 * [end config] * * From the GLSL 1.30 spec section 7.1 (Vertex Shader Special * Variables): * * The gl_ClipDistance array is predeclared as unsized and must be * sized by the shader either redeclaring it with a size or indexing * it only with integral constant expressions. * * This test verifies that gl_ClipDistance is predeclared as unsized * by attempting to take its length, an operation that is not allowed * on unsized arrays. */ #version 130 void main() { gl_Position = vec4(gl_ClipDistance.length()); } |