Result: fail
| Detail | Value |
|---|---|
| Returncode | 1 |
| Time | 0:00:00.150892 |
| Stdout |
Shader source:
/* [config]
* expect_result: pass
* glsl_version: 4.00
* [end config]
*
* Check that the following test vectors are constantfolded correctly:
* mix(dvec4(-2.0lf, -2.0lf, 2.0lf, 2.0lf), dvec4(-3.0lf, 3.0lf, -3.0lf, 3.0lf), 0.0lf) => dvec4(-2.0lf, -2.0lf, 2.0lf, 2.0lf)
* mix(dvec4(-2.0lf, -2.0lf, 2.0lf, 2.0lf), dvec4(-3.0lf, 3.0lf, -3.0lf, 3.0lf), 0.33333333333333331lf) => dvec4(-2.3333333333333335lf, -0.33333333333333348lf, 0.33333333333333348lf, 2.3333333333333335lf)
* mix(dvec4(-2.0lf, -2.0lf, 2.0lf, 2.0lf), dvec4(-3.0lf, 3.0lf, -3.0lf, 3.0lf), 0.66666666666666663lf) => dvec4(-2.666666666666667lf, 1.3333333333333333lf, -1.3333333333333333lf, 2.666666666666667lf)
* mix(dvec4(-2.0lf, -2.0lf, 2.0lf, 2.0lf), dvec4(-3.0lf, 3.0lf, -3.0lf, 3.0lf), 1.0lf) => dvec4(-3.0lf, 3.0lf, -3.0lf, 3.0lf)
*/
#version 400
void main()
{
double[distance(mix(dvec4(-2.0lf, -2.0lf, 2.0lf, 2.0lf), dvec4(-3.0lf, 3.0lf, -3.0lf, 3.0lf), 0.0lf), dvec4(-2.0lf, -2.0lf, 2.0lf, 2.0lf)) <= 4.0000000000000003e-05lf ? 1 : -1] array0;
double[distance(mix(dvec4(-2.0lf, -2.0lf, 2.0lf, 2.0lf), dvec4(-3.0lf, 3.0lf, -3.0lf, 3.0lf), 0.33333333333333331lf), dvec4(-2.3333333333333335lf, -0.33333333333333348lf, 0.33333333333333348lf, 2.3333333333333335lf)) <= 3.3333333333333342e-05lf ? 1 : -1] array1;
double[distance(mix(dvec4(-2.0lf, -2.0lf, 2.0lf, 2.0lf), dvec4(-3.0lf, 3.0lf, -3.0lf, 3.0lf), 0.66666666666666663lf), dvec4(-2.666666666666667lf, 1.3333333333333333lf, -1.3333333333333333lf, 2.666666666666667lf)) <= 4.2163702135578401e-05lf ? 1 : -1] array2;
double[distance(mix(dvec4(-2.0lf, -2.0lf, 2.0lf, 2.0lf), dvec4(-3.0lf, 3.0lf, -3.0lf, 3.0lf), 1.0lf), dvec4(-3.0lf, 3.0lf, -3.0lf, 3.0lf)) <= 6.0000000000000008e-05lf ? 1 : -1] array3;
gl_Position = dvec4(array0.length() + array1.length() + array2.length() + array3.length());
}
|
| Stderr |
Failed to compile geometry shader /Users/vlee/workspace/piglit/generated_tests/spec/glsl-4.00/compiler/built-in-functions/mix-dvec4-dvec4-double.geom: ERROR: 0:20: 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/mix-dvec4-dvec4-double.geom pass 4.00 |
| dmesg |