Status: fail
Result: fail
| Detail | Value |
|---|---|
| returncode | 1 |
| time | 0.0997579097748 |
| note | Returncode was 1 |
| errors |
|
| info | Returncode: 1
Errors:
Successfully compiled fragment shader tests/glslparsertest/glsl2/local-function-01.frag: (no compiler output)
Output:
Shader source:
/* FAIL - local function declarations are not allowed. */
#version 120
void main() {
float foo(float x);
gl_FragColor = vec4(0.0, foo(0.5), 0.0, 1.0);
}
float foo(float x) {
return x + 0.5;
}
|