Results for spec@arb_gpu_shader_fp64@compiler@built-in-functions@op-add-dvec3-double.frag

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.144352
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(-2.6666666666666665lf, -2.1833333333333331lf, -2.2733333333333334lf)
 * (dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf) + 0.84999999999999998lf) => dvec3(-0.48333333333333328lf, 0.0lf, -0.089999999999999969lf)
 * (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(0.33666666666666667lf, -0.67333333333333323lf, 0.53666666666666685lf)
 * (dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf) + 0.84999999999999998lf) => dvec3(2.52lf, 1.51lf, 2.7200000000000002lf)
 */
#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(-2.6666666666666665lf, -2.1833333333333331lf, -2.2733333333333334lf)) <= 4.1286922869111958e-05lf ? 1 : -1] array1;
  double[distance((dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf) + 0.84999999999999998lf), dvec3(-0.48333333333333328lf, 0.0lf, -0.089999999999999969lf)) <= 4.9164124228049774e-06lf ? 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(0.33666666666666667lf, -0.67333333333333323lf, 0.53666666666666685lf)) <= 9.2451789238139333e-06lf ? 1 : -1] array4;
  double[distance((dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf) + 0.84999999999999998lf), dvec3(2.52lf, 1.51lf, 2.7200000000000002lf)) <= 4.003610870202049e-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-add-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-add-dvec3-double.frag pass 1.50 GL_ARB_gpu_shader_fp64
dmesg

        

Back to summary