Result: fail
| Detail | Value |
|---|---|
| Returncode | 1 |
| Time | 0:00:00.143490 |
| Stdout |
Shader source:
/* [config]
* expect_result: pass
* glsl_version: 4.00
* [end config]
*
* Check that the following test vectors are constantfolded correctly:
* normalize(dvec2(-0.10000000000000001lf, -1.2lf)) => dvec2(-0.083045479853739973lf, -0.99654575824487956lf)
* normalize(dvec2(-0.41999999999999998lf, 0.47999999999999998lf)) => dvec2(-0.65850460786851817lf, 0.75257669470687794lf)
*/
#version 400
void main()
{
double[distance(normalize(dvec2(-0.10000000000000001lf, -1.2lf)), dvec2(-0.083045479853739973lf, -0.99654575824487956lf)) <= 9.9999999999999991e-06lf ? 1 : -1] array0;
double[distance(normalize(dvec2(-0.41999999999999998lf, 0.47999999999999998lf)), dvec2(-0.65850460786851817lf, 0.75257669470687794lf)) <= 1.0000000000000001e-05lf ? 1 : -1] array1;
gl_Position = dvec4(array0.length() + array1.length());
}
|
| Stderr |
Failed to compile vertex shader /Users/vlee/workspace/piglit/generated_tests/spec/glsl-4.00/compiler/built-in-functions/normalize-dvec2.vert: ERROR: 0:16: Incompatible types (vec4 and dvec4) in assignment (and no available implicit conversion) |
| Environment |
PIGLIT_SOURCE_DIR="/Users/vlee/workspace/piglit" PIGLIT_PLATFORM="mixed_glx_egl" |
| Command | /Users/vlee/workspace/piglit/bin/glslparsertest /Users/vlee/workspace/piglit/generated_tests/spec/glsl-4.00/compiler/built-in-functions/normalize-dvec2.vert pass 4.00 |
| dmesg |