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

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.108572
Stdout
Shader source:
/* [config]
 * expect_result: pass
 * glsl_version: 4.00
 * [end config]
 *
 * Check that the following test vectors are constantfolded correctly:
 * (dmat2x3(-0.46000000000000002lf, -0.45000000000000001lf, 1.03lf, 1.9399999999999999lf, -0.75lf, -0.5lf) * 0.0lf) => dmat2x3(0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf)
 * (dmat2x3(-0.46000000000000002lf, -0.45000000000000001lf, 1.03lf, 1.9399999999999999lf, -0.75lf, -0.5lf) * -1.3333333333333333lf) => dmat2x3(0.61333333333333329lf, 0.59999999999999998lf, -1.3733333333333333lf, -2.5866666666666664lf, 1.0lf, 0.66666666666666663lf)
 * (dmat2x3(-0.46000000000000002lf, -0.45000000000000001lf, 1.03lf, 1.9399999999999999lf, -0.75lf, -0.5lf) * 0.84999999999999998lf) => dmat2x3(-0.39100000000000001lf, -0.38250000000000001lf, 0.87549999999999994lf, 1.649lf, -0.63749999999999996lf, -0.42499999999999999lf)
 * (dmat2x3(1.3799999999999999lf, -1.27lf, 1.0lf, -1.0800000000000001lf, 1.8300000000000001lf, -0.73999999999999999lf) * 0.0lf) => dmat2x3(0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf, 0.0lf)
 * (dmat2x3(1.3799999999999999lf, -1.27lf, 1.0lf, -1.0800000000000001lf, 1.8300000000000001lf, -0.73999999999999999lf) * -1.3333333333333333lf) => dmat2x3(-1.8399999999999999lf, 1.6933333333333334lf, -1.3333333333333333lf, 1.4399999999999999lf, -2.4399999999999999lf, 0.98666666666666658lf)
 * (dmat2x3(1.3799999999999999lf, -1.27lf, 1.0lf, -1.0800000000000001lf, 1.8300000000000001lf, -0.73999999999999999lf) * 0.84999999999999998lf) => dmat2x3(1.1729999999999998lf, -1.0794999999999999lf, 0.84999999999999998lf, -0.91800000000000004lf, 1.5555000000000001lf, -0.629lf)
 */
#version 400

void main()
{
  double[(distance((dmat2x3(-0.46000000000000002lf, -0.45000000000000001lf, 1.03lf, 1.9399999999999999lf, -0.75lf, -0.5lf) * 0.0lf)[0], dvec3(0.0lf, 0.0lf, 0.0lf)) * distance((dmat2x3(-0.46000000000000002lf, -0.45000000000000001lf, 1.03lf, 1.9399999999999999lf, -0.75lf, -0.5lf) * 0.0lf)[0], dvec3(0.0lf, 0.0lf, 0.0lf))) + (distance((dmat2x3(-0.46000000000000002lf, -0.45000000000000001lf, 1.03lf, 1.9399999999999999lf, -0.75lf, -0.5lf) * 0.0lf)[1], dvec3(0.0lf, 0.0lf, 0.0lf)) * distance((dmat2x3(-0.46000000000000002lf, -0.45000000000000001lf, 1.03lf, 1.9399999999999999lf, -0.75lf, -0.5lf) * 0.0lf)[1], dvec3(0.0lf, 0.0lf, 0.0lf))) <= 0.0lf ? 1 : -1] array0;
  double[(distance((dmat2x3(-0.46000000000000002lf, -0.45000000000000001lf, 1.03lf, 1.9399999999999999lf, -0.75lf, -0.5lf) * -1.3333333333333333lf)[0], dvec3(0.61333333333333329lf, 0.59999999999999998lf, -1.3733333333333333lf)) * distance((dmat2x3(-0.46000000000000002lf, -0.45000000000000001lf, 1.03lf, 1.9399999999999999lf, -0.75lf, -0.5lf) * -1.3333333333333333lf)[0], dvec3(0.61333333333333329lf, 0.59999999999999998lf, -1.3733333333333333lf))) + (distance((dmat2x3(-0.46000000000000002lf, -0.45000000000000001lf, 1.03lf, 1.9399999999999999lf, -0.75lf, -0.5lf) * -1.3333333333333333lf)[1], dvec3(-2.5866666666666664lf, 1.0lf, 0.66666666666666663lf)) * distance((dmat2x3(-0.46000000000000002lf, -0.45000000000000001lf, 1.03lf, 1.9399999999999999lf, -0.75lf, -0.5lf) * -1.3333333333333333lf)[1], dvec3(-2.5866666666666664lf, 1.0lf, 0.66666666666666663lf))) <= 1.0757511111111107e-09lf ? 1 : -1] array1;
  double[(distance((dmat2x3(-0.46000000000000002lf, -0.45000000000000001lf, 1.03lf, 1.9399999999999999lf, -0.75lf, -0.5lf) * 0.84999999999999998lf)[0], dvec3(-0.39100000000000001lf, -0.38250000000000001lf, 0.87549999999999994lf)) * distance((dmat2x3(-0.46000000000000002lf, -0.45000000000000001lf, 1.03lf, 1.9399999999999999lf, -0.75lf, -0.5lf) * 0.84999999999999998lf)[0], dvec3(-0.39100000000000001lf, -0.38250000000000001lf, 0.87549999999999994lf))) + (distance((dmat2x3(-0.46000000000000002lf, -0.45000000000000001lf, 1.03lf, 1.9399999999999999lf, -0.75lf, -0.5lf) * 0.84999999999999998lf)[1], dvec3(1.649lf, -0.63749999999999996lf, -0.42499999999999999lf)) * distance((dmat2x3(-0.46000000000000002lf, -0.45000000000000001lf, 1.03lf, 1.9399999999999999lf, -0.75lf, -0.5lf) * 0.84999999999999998lf)[1], dvec3(1.649lf, -0.63749999999999996lf, -0.42499999999999999lf))) <= 4.3719197500000003e-10lf ? 1 : -1] array2;
  double[(distance((dmat2x3(1.3799999999999999lf, -1.27lf, 1.0lf, -1.0800000000000001lf, 1.8300000000000001lf, -0.73999999999999999lf) * 0.0lf)[0], dvec3(0.0lf, 0.0lf, 0.0lf)) * distance((dmat2x3(1.3799999999999999lf, -1.27lf, 1.0lf, -1.0800000000000001lf, 1.8300000000000001lf, -0.73999999999999999lf) * 0.0lf)[0], dvec3(0.0lf, 0.0lf, 0.0lf))) + (distance((dmat2x3(1.3799999999999999lf, -1.27lf, 1.0lf, -1.0800000000000001lf, 1.8300000000000001lf, -0.73999999999999999lf) * 0.0lf)[1], dvec3(0.0lf, 0.0lf, 0.0lf)) * distance((dmat2x3(1.3799999999999999lf, -1.27lf, 1.0lf, -1.0800000000000001lf, 1.8300000000000001lf, -0.73999999999999999lf) * 0.0lf)[1], dvec3(0.0lf, 0.0lf, 0.0lf))) <= 0.0lf ? 1 : -1] array3;
  double[(distance((dmat2x3(1.3799999999999999lf, -1.27lf, 1.0lf, -1.0800000000000001lf, 1.8300000000000001lf, -0.73999999999999999lf) * -1.3333333333333333lf)[0], dvec3(-1.8399999999999999lf, 1.6933333333333334lf, -1.3333333333333333lf)) * distance((dmat2x3(1.3799999999999999lf, -1.27lf, 1.0lf, -1.0800000000000001lf, 1.8300000000000001lf, -0.73999999999999999lf) * -1.3333333333333333lf)[0], dvec3(-1.8399999999999999lf, 1.6933333333333334lf, -1.3333333333333333lf))) + (distance((dmat2x3(1.3799999999999999lf, -1.27lf, 1.0lf, -1.0800000000000001lf, 1.8300000000000001lf, -0.73999999999999999lf) * -1.3333333333333333lf)[1], dvec3(1.4399999999999999lf, -2.4399999999999999lf, 0.98666666666666658lf)) * distance((dmat2x3(1.3799999999999999lf, -1.27lf, 1.0lf, -1.0800000000000001lf, 1.8300000000000001lf, -0.73999999999999999lf) * -1.3333333333333333lf)[1], dvec3(1.4399999999999999lf, -2.4399999999999999lf, 0.98666666666666658lf))) <= 1.703146666666667e-09lf ? 1 : -1] array4;
  double[(distance((dmat2x3(1.3799999999999999lf, -1.27lf, 1.0lf, -1.0800000000000001lf, 1.8300000000000001lf, -0.73999999999999999lf) * 0.84999999999999998lf)[0], dvec3(1.1729999999999998lf, -1.0794999999999999lf, 0.84999999999999998lf)) * distance((dmat2x3(1.3799999999999999lf, -1.27lf, 1.0lf, -1.0800000000000001lf, 1.8300000000000001lf, -0.73999999999999999lf) * 0.84999999999999998lf)[0], dvec3(1.1729999999999998lf, -1.0794999999999999lf, 0.84999999999999998lf))) + (distance((dmat2x3(1.3799999999999999lf, -1.27lf, 1.0lf, -1.0800000000000001lf, 1.8300000000000001lf, -0.73999999999999999lf) * 0.84999999999999998lf)[1], dvec3(-0.91800000000000004lf, 1.5555000000000001lf, -0.629lf)) * distance((dmat2x3(1.3799999999999999lf, -1.27lf, 1.0lf, -1.0800000000000001lf, 1.8300000000000001lf, -0.73999999999999999lf) * 0.84999999999999998lf)[1], dvec3(-0.91800000000000004lf, 1.5555000000000001lf, -0.629lf))) <= 6.9216945000000003e-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-dmat2x3-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-dmat2x3-double.frag pass 4.00
dmesg

        

Back to summary