Results for spec@arb_gpu_shader_fp64@compiler@built-in-functions@op-add-dvec4-double.vert

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.158592
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:
 * (dvec4(-1.6499999999999999lf, 1.3300000000000001lf, 1.9299999999999999lf, 0.76000000000000001lf) + 0.0lf) => dvec4(-1.6499999999999999lf, 1.3300000000000001lf, 1.9299999999999999lf, 0.76000000000000001lf)
 * (dvec4(-1.6499999999999999lf, 1.3300000000000001lf, 1.9299999999999999lf, 0.76000000000000001lf) + -1.3333333333333333lf) => dvec4(-2.9833333333333334lf, -0.0033333333333331883lf, 0.59666666666666668lf, -0.57333333333333325lf)
 * (dvec4(-1.6499999999999999lf, 1.3300000000000001lf, 1.9299999999999999lf, 0.76000000000000001lf) + 0.84999999999999998lf) => dvec4(-0.79999999999999993lf, 2.1800000000000002lf, 2.7799999999999998lf, 1.6099999999999999lf)
 * (dvec4(0.80000000000000004lf, -0.14999999999999999lf, -0.51000000000000001lf, 0.0lf) + 0.0lf) => dvec4(0.80000000000000004lf, -0.14999999999999999lf, -0.51000000000000001lf, 0.0lf)
 * (dvec4(0.80000000000000004lf, -0.14999999999999999lf, -0.51000000000000001lf, 0.0lf) + -1.3333333333333333lf) => dvec4(-0.53333333333333321lf, -1.4833333333333332lf, -1.8433333333333333lf, -1.3333333333333333lf)
 * (dvec4(0.80000000000000004lf, -0.14999999999999999lf, -0.51000000000000001lf, 0.0lf) + 0.84999999999999998lf) => dvec4(1.6499999999999999lf, 0.69999999999999996lf, 0.33999999999999997lf, 0.84999999999999998lf)
 */
#version 150
#extension GL_ARB_gpu_shader_fp64 : require

void main()
{
  double[distance((dvec4(-1.6499999999999999lf, 1.3300000000000001lf, 1.9299999999999999lf, 0.76000000000000001lf) + 0.0lf), dvec4(-1.6499999999999999lf, 1.3300000000000001lf, 1.9299999999999999lf, 0.76000000000000001lf)) <= 2.9654510618116767e-05lf ? 1 : -1] array0;
  double[distance((dvec4(-1.6499999999999999lf, 1.3300000000000001lf, 1.9299999999999999lf, 0.76000000000000001lf) + -1.3333333333333333lf), dvec4(-2.9833333333333334lf, -0.0033333333333331883lf, 0.59666666666666668lf, -0.57333333333333325lf)) <= 3.0959669105323325e-05lf ? 1 : -1] array1;
  double[distance((dvec4(-1.6499999999999999lf, 1.3300000000000001lf, 1.9299999999999999lf, 0.76000000000000001lf) + 0.84999999999999998lf), dvec4(-0.79999999999999993lf, 2.1800000000000002lf, 2.7799999999999998lf, 1.6099999999999999lf)) <= 3.9639500501393813e-05lf ? 1 : -1] array2;
  double[distance((dvec4(0.80000000000000004lf, -0.14999999999999999lf, -0.51000000000000001lf, 0.0lf) + 0.0lf), dvec4(0.80000000000000004lf, -0.14999999999999999lf, -0.51000000000000001lf, 0.0lf)) <= 9.6052069212484974e-06lf ? 1 : -1] array3;
  double[distance((dvec4(0.80000000000000004lf, -0.14999999999999999lf, -0.51000000000000001lf, 0.0lf) + -1.3333333333333333lf), dvec4(-0.53333333333333321lf, -1.4833333333333332lf, -1.8433333333333333lf, -1.3333333333333333lf)) <= 2.7677387481078808e-05lf ? 1 : -1] array4;
  double[distance((dvec4(0.80000000000000004lf, -0.14999999999999999lf, -0.51000000000000001lf, 0.0lf) + 0.84999999999999998lf), dvec4(1.6499999999999999lf, 0.69999999999999996lf, 0.33999999999999997lf, 0.84999999999999998lf)) <= 2.0126102454275641e-05lf ? 1 : -1] array5;
  gl_Position = dvec4(array0.length() + array1.length() + array2.length() + array3.length() + array4.length() + array5.length());
}

Stderr
Failed to compile vertex shader /Users/vlee/workspace/piglit/generated_tests/spec/arb_gpu_shader_fp64/compiler/built-in-functions/op-add-dvec4-double.vert: ERROR: 0:26: 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/arb_gpu_shader_fp64/compiler/built-in-functions/op-add-dvec4-double.vert pass 1.50 GL_ARB_gpu_shader_fp64
dmesg

        

Back to summary