Results for spec@glsl-4.00@compiler@built-in-functions@op-mult-dvec2-dvec2.vert

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.092933
Stdout
Shader source:
/* [config]
 * expect_result: pass
 * glsl_version: 4.00
 * [end config]
 *
 * Check that the following test vectors are constantfolded correctly:
 * (dvec2(-0.10000000000000001lf, -1.2lf) * dvec2(-0.10000000000000001lf, -1.2lf)) => dvec2(0.010000000000000002lf, 1.4399999999999999lf)
 * (dvec2(-0.10000000000000001lf, -1.2lf) * dvec2(-0.41999999999999998lf, 0.47999999999999998lf)) => dvec2(0.042000000000000003lf, -0.57599999999999996lf)
 * (dvec2(-0.41999999999999998lf, 0.47999999999999998lf) * dvec2(-0.10000000000000001lf, -1.2lf)) => dvec2(0.042000000000000003lf, -0.57599999999999996lf)
 * (dvec2(-0.41999999999999998lf, 0.47999999999999998lf) * dvec2(-0.41999999999999998lf, 0.47999999999999998lf)) => dvec2(0.17639999999999997lf, 0.23039999999999999lf)
 */
#version 400

void main()
{
  double[distance((dvec2(-0.10000000000000001lf, -1.2lf) * dvec2(-0.10000000000000001lf, -1.2lf)), dvec2(0.010000000000000002lf, 1.4399999999999999lf)) <= 1.44003472180361e-05lf ? 1 : -1] array0;
  double[distance((dvec2(-0.10000000000000001lf, -1.2lf) * dvec2(-0.41999999999999998lf, 0.47999999999999998lf)), dvec2(0.042000000000000003lf, -0.57599999999999996lf)) <= 5.7752922003999072e-06lf ? 1 : -1] array1;
  double[distance((dvec2(-0.41999999999999998lf, 0.47999999999999998lf) * dvec2(-0.10000000000000001lf, -1.2lf)), dvec2(0.042000000000000003lf, -0.57599999999999996lf)) <= 5.7752922003999072e-06lf ? 1 : -1] array2;
  double[distance((dvec2(-0.41999999999999998lf, 0.47999999999999998lf) * dvec2(-0.41999999999999998lf, 0.47999999999999998lf)), dvec2(0.17639999999999997lf, 0.23039999999999999lf)) <= 2.9017429245196758e-06lf ? 1 : -1] array3;
  gl_Position = dvec4(array0.length() + array1.length() + array2.length() + array3.length());
}

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

        

Back to summary