Result: fail
| Detail | Value |
|---|---|
| Returncode | 1 |
| Time | 0:00:00.152753 |
| Stdout |
Shader source:
/* [config]
* expect_result: pass
* glsl_version: 1.50
* require_extensions: GL_ARB_gpu_shader_fp64
* [end config]
*
* Check that the following test vectors are constantfolded correctly:
* (dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf) - 0.0lf) => dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf)
* (dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf) - -1.3333333333333333lf) => dvec3(0.0lf, 0.48333333333333328lf, 0.39333333333333331lf)
* (dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf) - 0.84999999999999998lf) => dvec3(-2.1833333333333331lf, -1.7lf, -1.79lf)
* (dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf) - 0.0lf) => dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf)
* (dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf) - -1.3333333333333333lf) => dvec3(3.003333333333333lf, 1.9933333333333332lf, 3.2033333333333331lf)
* (dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf) - 0.84999999999999998lf) => dvec3(0.81999999999999995lf, -0.18999999999999995lf, 1.02lf)
*/
#version 150
#extension GL_ARB_gpu_shader_fp64 : require
void main()
{
double[distance((dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf) - 0.0lf), dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf)) <= 1.8395319452996129e-05lf ? 1 : -1] array0;
double[distance((dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf) - -1.3333333333333333lf), dvec3(0.0lf, 0.48333333333333328lf, 0.39333333333333331lf)) <= 6.2315505471930668e-06lf ? 1 : -1] array1;
double[distance((dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf) - 0.84999999999999998lf), dvec3(-2.1833333333333331lf, -1.7lf, -1.79lf)) <= 3.2956098744305953e-05lf ? 1 : -1] array2;
double[distance((dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf) - 0.0lf), dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf)) <= 2.5925662961629354e-05lf ? 1 : -1] array3;
double[distance((dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf) - -1.3333333333333333lf), dvec3(3.003333333333333lf, 1.9933333333333332lf, 3.2033333333333331lf)) <= 4.822316179320196e-05lf ? 1 : -1] array4;
double[distance((dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf) - 0.84999999999999998lf), dvec3(0.81999999999999995lf, -0.18999999999999995lf, 1.02lf)) <= 1.3224598292575847e-05lf ? 1 : -1] array5;
gl_FragColor = dvec4(array0.length() + array1.length() + array2.length() + array3.length() + array4.length() + array5.length());
}
|
| Stderr |
Failed to compile fragment shader /Users/vlee/workspace/piglit/generated_tests/spec/arb_gpu_shader_fp64/compiler/built-in-functions/op-sub-dvec3-double.frag: ERROR: 0:26: Use of undeclared identifier 'gl_FragColor' |
| 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/arb_gpu_shader_fp64/compiler/built-in-functions/op-sub-dvec3-double.frag pass 1.50 GL_ARB_gpu_shader_fp64 |
| dmesg |