Result: fail
Detail | Value |
---|---|
Returncode | 1 |
Time | 0:00:00.152821 |
Stdout |
Shader source: // [config] // expect_result: fail // glsl_version: 1.10 // [end config] // // Check that an array can't be used as a function out parameter in // GLSL 1.10. // // In this test, the array is declared using C-style array // declaration syntax (float x[2] as opposed to float[2] x). // // From section 5.8 of the GLSL 1.10 spec: // Other binary or unary expressions, non-dereferenced arrays, // function names, swizzles with repeated fields, and constants // cannot be l-values. #version 110 void f(out float x[2]) { } |
Stderr |
Successfully compiled vertex shader /Users/vlee/workspace/piglit/tests/spec/glsl-1.10/compiler/qualifiers/fn-out-array-prohibited-cstyle.vert: (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.10/compiler/qualifiers/fn-out-array-prohibited-cstyle.vert fail 1.10 |
dmesg |