Results for spec@glsl-4.00@compiler@built-in-functions@op-mult-dmat3x4-double.frag

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.167937
Stdout
Shader source:
/* [config]
 * expect_result: pass
 * glsl_version: 4.00
 * [end config]
 *
 * Check that the following test vectors are constantfolded correctly:
 * (dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * 0.0lf) => dmat3x4(0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf)
 * (dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * -1.3333333333333333lf) => dmat3x4(-1.8933333333333331lf, -2.3999999999999999lf, 2.5066666666666664lf, -1.8266666666666667lf, 1.1466666666666665lf, 2.3199999999999998lf, 0.49333333333333329lf, -2.5333333333333332lf, -0.35999999999999999lf, -0.05333333333333333lf, -0.57333333333333325lf, -0.94666666666666655lf)
 * (dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * 0.84999999999999998lf) => dmat3x4(1.2069999999999999lf, 1.53lf, -1.5979999999999999lf, 1.1645000000000001lf, -0.73099999999999998lf, -1.4789999999999999lf, -0.3145lf, 1.615lf, 0.22950000000000001lf, 0.034000000000000002lf, 0.36549999999999999lf, 0.60349999999999993lf)
 * (dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * 0.0lf) => dmat3x4(0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf)
 * (dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * -1.3333333333333333lf) => dmat3x4(2.293333333333333lf, 0.41333333333333333lf, -0.18666666666666668lf, -0.53333333333333333lf, -0.12lf, 2.1066666666666665lf, -0.23999999999999999lf, 1.0266666666666666lf, -0.59999999999999998lf, -2.5599999999999996lf, 0.7466666666666667lf, -2.3466666666666667lf)
 * (dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * 0.84999999999999998lf) => dmat3x4(-1.462lf, -0.26350000000000001lf, 0.11900000000000001lf, 0.34000000000000002lf, 0.076499999999999999lf, -1.343lf, 0.153lf, -0.65449999999999997lf, 0.38250000000000001lf, 1.6319999999999999lf, -0.47600000000000003lf, 1.496lf)
 */
#version 400

void main()
{
  double[(distance((dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * 0.0lf)[0], dvec4(0.0lf, 0.0lf, 0.0lf, 0.0lf)) * distance((dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * 0.0lf)[0], dvec4(0.0lf, 0.0lf, 0.0lf, 0.0lf))) + (distance((dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * 0.0lf)[1], dvec4(0.0lf, 0.0lf, 0.0lf, 0.0lf)) * distance((dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * 0.0lf)[1], dvec4(0.0lf, 0.0lf, 0.0lf, 0.0lf))) + (distance((dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * 0.0lf)[2], dvec4(0.0lf, 0.0lf, 0.0lf, 0.0lf)) * distance((dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * 0.0lf)[2], dvec4(0.0lf, 0.0lf, 0.0lf, 0.0lf))) <= 0.0lf ? 1 : -1] array0;
  double[(distance((dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * -1.3333333333333333lf)[0], dvec4(-1.8933333333333331lf, -2.3999999999999999lf, 2.5066666666666664lf, -1.8266666666666667lf)) * distance((dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * -1.3333333333333333lf)[0], dvec4(-1.8933333333333331lf, -2.3999999999999999lf, 2.5066666666666664lf, -1.8266666666666667lf))) + (distance((dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * -1.3333333333333333lf)[1], dvec4(1.1466666666666665lf, 2.3199999999999998lf, 0.49333333333333329lf, -2.5333333333333332lf)) * distance((dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * -1.3333333333333333lf)[1], dvec4(1.1466666666666665lf, 2.3199999999999998lf, 0.49333333333333329lf, -2.5333333333333332lf))) + (distance((dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * -1.3333333333333333lf)[2], dvec4(-0.35999999999999999lf, -0.05333333333333333lf, -0.57333333333333325lf, -0.94666666666666655lf)) * distance((dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * -1.3333333333333333lf)[2], dvec4(-0.35999999999999999lf, -0.05333333333333333lf, -0.57333333333333325lf, -0.94666666666666655lf))) <= 3.3680533333333331e-09lf ? 1 : -1] array1;
  double[(distance((dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * 0.84999999999999998lf)[0], dvec4(1.2069999999999999lf, 1.53lf, -1.5979999999999999lf, 1.1645000000000001lf)) * distance((dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * 0.84999999999999998lf)[0], dvec4(1.2069999999999999lf, 1.53lf, -1.5979999999999999lf, 1.1645000000000001lf))) + (distance((dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * 0.84999999999999998lf)[1], dvec4(-0.73099999999999998lf, -1.4789999999999999lf, -0.3145lf, 1.615lf)) * distance((dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * 0.84999999999999998lf)[1], dvec4(-0.73099999999999998lf, -1.4789999999999999lf, -0.3145lf, 1.615lf))) + (distance((dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * 0.84999999999999998lf)[2], dvec4(0.22950000000000001lf, 0.034000000000000002lf, 0.36549999999999999lf, 0.60349999999999993lf)) * distance((dmat3x4(1.4199999999999999lf, 1.8lf, -1.8799999999999999lf, 1.3700000000000001lf, -0.85999999999999999lf, -1.74lf, -0.37lf, 1.8999999999999999lf, 0.27000000000000002lf, 0.040000000000000001lf, 0.42999999999999999lf, 0.70999999999999996lf) * 0.84999999999999998lf)[2], dvec4(0.22950000000000001lf, 0.034000000000000002lf, 0.36549999999999999lf, 0.60349999999999993lf))) <= 1.368797925e-09lf ? 1 : -1] array2;
  double[(distance((dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * 0.0lf)[0], dvec4(0.0lf, 0.0lf, 0.0lf, 0.0lf)) * distance((dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * 0.0lf)[0], dvec4(0.0lf, 0.0lf, 0.0lf, 0.0lf))) + (distance((dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * 0.0lf)[1], dvec4(0.0lf, 0.0lf, 0.0lf, 0.0lf)) * distance((dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * 0.0lf)[1], dvec4(0.0lf, 0.0lf, 0.0lf, 0.0lf))) + (distance((dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * 0.0lf)[2], dvec4(0.0lf, 0.0lf, 0.0lf, 0.0lf)) * distance((dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * 0.0lf)[2], dvec4(0.0lf, 0.0lf, 0.0lf, 0.0lf))) <= 0.0lf ? 1 : -1] array3;
  double[(distance((dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * -1.3333333333333333lf)[0], dvec4(2.293333333333333lf, 0.41333333333333333lf, -0.18666666666666668lf, -0.53333333333333333lf)) * distance((dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * -1.3333333333333333lf)[0], dvec4(2.293333333333333lf, 0.41333333333333333lf, -0.18666666666666668lf, -0.53333333333333333lf))) + (distance((dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * -1.3333333333333333lf)[1], dvec4(-0.12lf, 2.1066666666666665lf, -0.23999999999999999lf, 1.0266666666666666lf)) * distance((dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * -1.3333333333333333lf)[1], dvec4(-0.12lf, 2.1066666666666665lf, -0.23999999999999999lf, 1.0266666666666666lf))) + (distance((dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * -1.3333333333333333lf)[2], dvec4(-0.59999999999999998lf, -2.5599999999999996lf, 0.7466666666666667lf, -2.3466666666666667lf)) * distance((dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * -1.3333333333333333lf)[2], dvec4(-0.59999999999999998lf, -2.5599999999999996lf, 0.7466666666666667lf, -2.3466666666666667lf))) <= 2.4291555555555548e-09lf ? 1 : -1] array4;
  double[(distance((dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * 0.84999999999999998lf)[0], dvec4(-1.462lf, -0.26350000000000001lf, 0.11900000000000001lf, 0.34000000000000002lf)) * distance((dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * 0.84999999999999998lf)[0], dvec4(-1.462lf, -0.26350000000000001lf, 0.11900000000000001lf, 0.34000000000000002lf))) + (distance((dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * 0.84999999999999998lf)[1], dvec4(0.076499999999999999lf, -1.343lf, 0.153lf, -0.65449999999999997lf)) * distance((dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * 0.84999999999999998lf)[1], dvec4(0.076499999999999999lf, -1.343lf, 0.153lf, -0.65449999999999997lf))) + (distance((dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * 0.84999999999999998lf)[2], dvec4(0.38250000000000001lf, 1.6319999999999999lf, -0.47600000000000003lf, 1.496lf)) * distance((dmat3x4(-1.72lf, -0.31lf, 0.14000000000000001lf, 0.40000000000000002lf, 0.089999999999999997lf, -1.5800000000000001lf, 0.17999999999999999lf, -0.77000000000000002lf, 0.45000000000000001lf, 1.9199999999999999lf, -0.56000000000000005lf, 1.76lf) * 0.84999999999999998lf)[2], dvec4(0.38250000000000001lf, 1.6319999999999999lf, -0.47600000000000003lf, 1.496lf))) <= 9.8722400000000027e-10lf ? 1 : -1] array5;
  gl_FragColor = dvec4(array0.length() + array1.length() + array2.length() + array3.length() + array4.length() + array5.length());
}

Stderr
Failed to compile fragment shader /Users/vlee/workspace/piglit/generated_tests/spec/glsl-4.00/compiler/built-in-functions/op-mult-dmat3x4-double.frag: ERROR: 0:24: 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/glsl-4.00/compiler/built-in-functions/op-mult-dmat3x4-double.frag pass 4.00
dmesg

        

Back to summary