Status: fail
Result: fail
| Detail | Value |
|---|---|
| returncode | 1 |
| time | 0.233999967575 |
| note | Returncode was 1 |
| errors |
|
| info | Returncode: 1
Errors:
Successfully compiled fragment shader tests/glslparsertest/glsl2\array-length-110.frag: Fragment shader was successfully compiled to run on hardware.
Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.10
//
// # NOTE: Config section was auto-generated from file
// # NOTE: 'glslparser.tests' at git revision
// # NOTE: 6cc17ae70b70d150aa1751f8e28db7b2a9bd50f0
// [end config]
/* FAIL: The length() method was added in GLSL 1.20. */
void main()
{
float a[5];
if (a.length() == 5)
gl_FragColor = vec4(0.0, 1.0, 0.0, 1.0);
else
gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
}
|