Results for spec@arb_gpu_shader_fp64@compiler@built-in-functions@dot-dvec2-dvec2.geom

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.150375
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(dvec2(-0.10000000000000001lf, -1.2lf), dvec2(-0.10000000000000001lf, -1.2lf)) => 1.45lf
 * dot(dvec2(-0.10000000000000001lf, -1.2lf), dvec2(-0.41999999999999998lf, 0.47999999999999998lf)) => -0.53399999999999992lf
 * dot(dvec2(-0.41999999999999998lf, 0.47999999999999998lf), dvec2(-0.10000000000000001lf, -1.2lf)) => -0.53399999999999992lf
 * dot(dvec2(-0.41999999999999998lf, 0.47999999999999998lf), dvec2(-0.41999999999999998lf, 0.47999999999999998lf)) => 0.40679999999999994lf
 */
#version 150
#extension GL_ARB_gpu_shader_fp64 : require

void main()
{
  double[distance(dot(dvec2(-0.10000000000000001lf, -1.2lf), dvec2(-0.10000000000000001lf, -1.2lf)), 1.45lf) <= 1.45e-05lf ? 1 : -1] array0;
  double[distance(dot(dvec2(-0.10000000000000001lf, -1.2lf), dvec2(-0.41999999999999998lf, 0.47999999999999998lf)), -0.53399999999999992lf) <= 5.3399999999999997e-06lf ? 1 : -1] array1;
  double[distance(dot(dvec2(-0.41999999999999998lf, 0.47999999999999998lf), dvec2(-0.10000000000000001lf, -1.2lf)), -0.53399999999999992lf) <= 5.3399999999999997e-06lf ? 1 : -1] array2;
  double[distance(dot(dvec2(-0.41999999999999998lf, 0.47999999999999998lf), dvec2(-0.41999999999999998lf, 0.47999999999999998lf)), 0.40679999999999994lf) <= 4.0679999999999998e-06lf ? 1 : -1] array3;
  gl_Position = dvec4(array0.length() + array1.length() + array2.length() + array3.length());
}

Stderr
Failed to compile geometry shader /Users/vlee/workspace/piglit/generated_tests/spec/arb_gpu_shader_fp64/compiler/built-in-functions/dot-dvec2-dvec2.geom: ERROR: 0:22: 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/dot-dvec2-dvec2.geom pass 1.50 GL_ARB_gpu_shader_fp64
dmesg

        

Back to summary