Results for spec@glsl-4.00@compiler@built-in-functions@matrixcompmult-dmat3x2-dmat3x2.geom

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.138781
Stdout
Shader source:
/* [config]
 * expect_result: pass
 * glsl_version: 4.00
 * [end config]
 *
 * Check that the following test vectors are constantfolded correctly:
 * matrixCompMult(dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf), dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf)) => dmat3x2(0.0080999999999999996lf, 1.4160999999999999lf, 1.6900000000000002lf, 0.0064000000000000003lf, 1.5625lf, 1.1664000000000001lf)
 * matrixCompMult(dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf), dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf)) => dmat3x2(-0.032399999999999998lf, 0.63070000000000004lf, -1.4040000000000001lf, 0.070400000000000004lf, -0.75lf, -1.9332000000000003lf)
 * matrixCompMult(dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf), dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf)) => dmat3x2(-0.032399999999999998lf, 0.63070000000000004lf, -1.4040000000000001lf, 0.070400000000000004lf, -0.75lf, -1.9332000000000003lf)
 * matrixCompMult(dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf), dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf)) => dmat3x2(0.12959999999999999lf, 0.28090000000000004lf, 1.1664000000000001lf, 0.77439999999999998lf, 0.35999999999999999lf, 3.2040999999999999lf)
 */
#version 400

void main()
{
  double[(distance(matrixCompMult(dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf), dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf))[0], dvec2(0.0080999999999999996lf, 1.4160999999999999lf)) * distance(matrixCompMult(dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf), dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf))[0], dvec2(0.0080999999999999996lf, 1.4160999999999999lf))) + (distance(matrixCompMult(dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf), dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf))[1], dvec2(1.6900000000000002lf, 0.0064000000000000003lf)) * distance(matrixCompMult(dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf), dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf))[1], dvec2(1.6900000000000002lf, 0.0064000000000000003lf))) + (distance(matrixCompMult(dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf), dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf))[2], dvec2(1.5625lf, 1.1664000000000001lf)) * distance(matrixCompMult(dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf), dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf))[2], dvec2(1.5625lf, 1.1664000000000001lf))) <= 8.6634409900000015e-10lf ? 1 : -1] array0;
  double[(distance(matrixCompMult(dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf), dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf))[0], dvec2(-0.032399999999999998lf, 0.63070000000000004lf)) * distance(matrixCompMult(dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf), dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf))[0], dvec2(-0.032399999999999998lf, 0.63070000000000004lf))) + (distance(matrixCompMult(dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf), dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf))[1], dvec2(-1.4040000000000001lf, 0.070400000000000004lf)) * distance(matrixCompMult(dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf), dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf))[1], dvec2(-1.4040000000000001lf, 0.070400000000000004lf))) + (distance(matrixCompMult(dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf), dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf))[2], dvec2(-0.75lf, -1.9332000000000003lf)) * distance(matrixCompMult(dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf), dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf))[2], dvec2(-0.75lf, -1.9332000000000003lf))) <= 6.674766650000003e-10lf ? 1 : -1] array1;
  double[(distance(matrixCompMult(dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf), dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf))[0], dvec2(-0.032399999999999998lf, 0.63070000000000004lf)) * distance(matrixCompMult(dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf), dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf))[0], dvec2(-0.032399999999999998lf, 0.63070000000000004lf))) + (distance(matrixCompMult(dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf), dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf))[1], dvec2(-1.4040000000000001lf, 0.070400000000000004lf)) * distance(matrixCompMult(dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf), dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf))[1], dvec2(-1.4040000000000001lf, 0.070400000000000004lf))) + (distance(matrixCompMult(dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf), dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf))[2], dvec2(-0.75lf, -1.9332000000000003lf)) * distance(matrixCompMult(dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf), dmat3x2(0.089999999999999997lf, -1.1899999999999999lf, 1.3lf, 0.080000000000000002lf, 1.25lf, 1.0800000000000001lf))[2], dvec2(-0.75lf, -1.9332000000000003lf))) <= 6.674766650000003e-10lf ? 1 : -1] array2;
  double[(distance(matrixCompMult(dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf), dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf))[0], dvec2(0.12959999999999999lf, 0.28090000000000004lf)) * distance(matrixCompMult(dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf), dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf))[0], dvec2(0.12959999999999999lf, 0.28090000000000004lf))) + (distance(matrixCompMult(dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf), dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf))[1], dvec2(1.1664000000000001lf, 0.77439999999999998lf)) * distance(matrixCompMult(dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf), dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf))[1], dvec2(1.1664000000000001lf, 0.77439999999999998lf))) + (distance(matrixCompMult(dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf), dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf))[2], dvec2(0.35999999999999999lf, 3.2040999999999999lf)) * distance(matrixCompMult(dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf), dmat3x2(-0.35999999999999999lf, -0.53000000000000003lf, -1.0800000000000001lf, 0.88lf, -0.59999999999999998lf, -1.79lf))[2], dvec2(0.35999999999999999lf, 3.2040999999999999lf))) <= 1.2451742100000005e-09lf ? 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/glsl-4.00/compiler/built-in-functions/matrixCompMult-dmat3x2-dmat3x2.geom: 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/matrixCompMult-dmat3x2-dmat3x2.geom pass 4.00
dmesg

        

Back to summary