Results for spec@glsl-4.00@compiler@built-in-functions@op-add-dvec3-dvec3.frag

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.145295
Stdout
Shader source:
/* [config]
 * expect_result: pass
 * glsl_version: 4.00
 * [end config]
 *
 * Check that the following test vectors are constantfolded correctly:
 * (dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf) + dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf)) => dvec3(-2.6666666666666665lf, -1.7lf, -1.8799999999999999lf)
 * (dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf) + dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf)) => dvec3(0.33666666666666667lf, -0.18999999999999995lf, 0.93000000000000016lf)
 * (dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf) + dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf)) => dvec3(0.33666666666666667lf, -0.18999999999999995lf, 0.93000000000000016lf)
 * (dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf) + dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf)) => dvec3(3.3399999999999999lf, 1.3200000000000001lf, 3.7400000000000002lf)
 */
#version 400

void main()
{
  double[distance((dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf) + dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf)), dvec3(-2.6666666666666665lf, -1.7lf, -1.8799999999999999lf)) <= 3.6790638905992258e-05lf ? 1 : -1] array0;
  double[distance((dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf) + dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf)), dvec3(0.33666666666666667lf, -0.18999999999999995lf, 0.93000000000000016lf)) <= 1.0071466846713267e-05lf ? 1 : -1] array1;
  double[distance((dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf) + dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf)), dvec3(0.33666666666666667lf, -0.18999999999999995lf, 0.93000000000000016lf)) <= 1.0071466846713267e-05lf ? 1 : -1] array2;
  double[distance((dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf) + dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf)), dvec3(3.3399999999999999lf, 1.3200000000000001lf, 3.7400000000000002lf)) <= 5.1851325923258707e-05lf ? 1 : -1] array3;
  gl_FragColor = dvec4(array0.length() + array1.length() + array2.length() + array3.length());
}

Stderr
Failed to compile fragment shader /Users/vlee/workspace/piglit/generated_tests/spec/glsl-4.00/compiler/built-in-functions/op-add-dvec3-dvec3.frag: ERROR: 0:20: 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/glsl-4.00/compiler/built-in-functions/op-add-dvec3-dvec3.frag pass 4.00
dmesg

        

Back to summary