Results for spec@arb_gpu_shader_fp64@compiler@built-in-functions@dot-dvec4-dvec4.frag

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.139128
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:
 * dot(dvec4(-1.6499999999999999lf, 1.3300000000000001lf, 1.9299999999999999lf, 0.76000000000000001lf), dvec4(-1.6499999999999999lf, 1.3300000000000001lf, 1.9299999999999999lf, 0.76000000000000001lf)) => 8.7939000000000007lf
 * dot(dvec4(-1.6499999999999999lf, 1.3300000000000001lf, 1.9299999999999999lf, 0.76000000000000001lf), dvec4(0.80000000000000004lf, -0.14999999999999999lf, -0.51000000000000001lf, 0.0lf)) => -2.5038lf
 * dot(dvec4(0.80000000000000004lf, -0.14999999999999999lf, -0.51000000000000001lf, 0.0lf), dvec4(-1.6499999999999999lf, 1.3300000000000001lf, 1.9299999999999999lf, 0.76000000000000001lf)) => -2.5038lf
 * dot(dvec4(0.80000000000000004lf, -0.14999999999999999lf, -0.51000000000000001lf, 0.0lf), dvec4(0.80000000000000004lf, -0.14999999999999999lf, -0.51000000000000001lf, 0.0lf)) => 0.92260000000000009lf
 */
#version 150
#extension GL_ARB_gpu_shader_fp64 : require

void main()
{
  double[distance(dot(dvec4(-1.6499999999999999lf, 1.3300000000000001lf, 1.9299999999999999lf, 0.76000000000000001lf), dvec4(-1.6499999999999999lf, 1.3300000000000001lf, 1.9299999999999999lf, 0.76000000000000001lf)), 8.7939000000000007lf) <= 8.7939000000000013e-05lf ? 1 : -1] array0;
  double[distance(dot(dvec4(-1.6499999999999999lf, 1.3300000000000001lf, 1.9299999999999999lf, 0.76000000000000001lf), dvec4(0.80000000000000004lf, -0.14999999999999999lf, -0.51000000000000001lf, 0.0lf)), -2.5038lf) <= 2.5038000000000003e-05lf ? 1 : -1] array1;
  double[distance(dot(dvec4(0.80000000000000004lf, -0.14999999999999999lf, -0.51000000000000001lf, 0.0lf), dvec4(-1.6499999999999999lf, 1.3300000000000001lf, 1.9299999999999999lf, 0.76000000000000001lf)), -2.5038lf) <= 2.5038000000000003e-05lf ? 1 : -1] array2;
  double[distance(dot(dvec4(0.80000000000000004lf, -0.14999999999999999lf, -0.51000000000000001lf, 0.0lf), dvec4(0.80000000000000004lf, -0.14999999999999999lf, -0.51000000000000001lf, 0.0lf)), 0.92260000000000009lf) <= 9.2260000000000011e-06lf ? 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/arb_gpu_shader_fp64/compiler/built-in-functions/dot-dvec4-dvec4.frag: ERROR: 0:22: 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/dot-dvec4-dvec4.frag pass 1.50 GL_ARB_gpu_shader_fp64
dmesg

        

Back to summary