Result: crash
| Detail | Value |
|---|---|
| Returncode | -11 |
| Time | 0:00:00.205379 |
| Stdout |
Shader source:
#version 100
/* [config]
* expect_result: fail
* glsl_version: 1.00
* [end config]
*
* Section 4.3 (Storage Qualifiers) of the OpenGL ES 1.00.17 spec says:
*
* "Declarations of globals without a storage qualifier, or with just the
* const qualifier, may include initializers, in which case they will be
* initialized before the first line of main() is executed. Such
* initializers must be a constant expression."
*
* This differs from desktop GLSL. A compiler that only has to support GLSL
* ES could possibly be some amount smaller due to this restriction.
*/
uniform float uf;
float gf1 = 1.0;
float gf2 = uf;
void main()
{
gl_Position = vec4(gf1, gf2, uf, 1.0);
}
|
| Stderr |
Successfully compiled vertex shader /usr/local/lib/piglit/tests/spec/glsl-es-1.00/compiler/global-initializer/from-uniform.vert: |
| 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/global-initializer/from-uniform.vert fail 1.00 |
| dmesg |