Status: fail
Result: fail
| Detail | Value |
|---|---|
| returncode | 1 |
| time | 0.133104085922 |
| note | Returncode was 1 |
| command | /usr/local/src/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.00/compiler/qualifiers/fn-inout-array-allowed-cstyle.vert pass 1.00 --check-link |
| errors |
|
| info | Returncode: 1
Errors:
Failed to compile vertex shader tests/spec/glsl-1.00/compiler/qualifiers/fn-inout-array-allowed-cstyle.vert: 0(26) : error C7551: OpenGL first class arrays require #version 120
Output:
Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.00
// check_link: true
// [end config]
//
// Check that an array can be used as a function inout parameter in
// GLSL ES 1.00.
//
// 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 ES 1.00 spec:
// Array variables are l-values and may be passed to parameters
// declared as out or inout. However, they may not be used as the
// target of an assignment.
#version 100
void f(inout float x[2])
{
}
void main()
{
float[2] x;
f(x);
gl_Position = vec4(0.0);
}
|