Result: crash
| Detail | Value |
|---|---|
| Returncode | -11 |
| Time | 0:00:00.234832 |
| Stdout |
Shader source:
#version 100
/* [config]
* expect_result: pass
* glsl_version: 1.00
* [end config]
*
* Section 5.10 (Constant Expressions) of the GLSL ES 1.00.17 spec says:
*
* "A constant expression is one of
*
* ...
*
* - a built-in function call whose arguments are all constant
* expressions, with the exception of the texture lookup functions."
*
* While the sequence operator is specifically disallowed as a constant
* expression in GLSL ES 3.0 and later, it is allowed in GLSL ES 1.00.
*/
const float f = cos((1.0, 2.0));
void main()
{
gl_Position = vec4(f);
}
|
| Stderr |
Failed to compile vertex shader /usr/local/lib/piglit/tests/spec/glsl-es-1.00/compiler/const-initializer/from-sequence-in-function.vert: 0:21(22): warning: left-hand operand of comma expression has no effect 0:21(17): error: initializer of const variable `f' must be a constant expression |
| Environment |
PIGLIT_SOURCE_DIR="/usr/local/lib/piglit" PIGLIT_PLATFORM="mixed_glx_egl" |
| Command | /usr/local/lib/piglit/bin/glslparsertest_gles2 /usr/local/lib/piglit/tests/spec/glsl-es-1.00/compiler/const-initializer/from-sequence-in-function.vert pass 1.00 |
| dmesg |