Results for spec/glsl-1.20/compiler/built-in-functions/matrixCompMult-mat3x4-mat3x4.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.269184827805
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/matrixCompMult-mat3x4-mat3x4.vert pass 1.20
errors
  • Failed to compile vertex shader tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/matrixCompMult-mat3x4-mat3x4.vert: 0(16) : error C1307: non constant expression for array size
  • 0(17) : error C1307: non constant expression for array size
  • 0(18) : error C1307: non constant expression for array size
  • 0(19) : error C1307: non constant expression for array size
info
Returncode: 1

Errors:
Failed to compile vertex shader tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/matrixCompMult-mat3x4-mat3x4.vert: 0(16) : error C1307: non constant expression for array size
0(17) : error C1307: non constant expression for array size
0(18) : error C1307: non constant expression for array size
0(19) : error C1307: non constant expression for array size



Output:
Shader source:
/* [config]
 * expect_result: pass
 * glsl_version: 1.20
 * [end config]
 *
 * Check that the following test vectors are constant folded correctly:
 * matrixCompMult(mat3x4(1.42, 1.8, -1.88, 1.37, -0.86000001, -1.74, -0.37, 1.9, 0.27000001, 0.039999999, 0.43000001, 0.70999998), mat3x4(1.42, 1.8, -1.88, 1.37, -0.86000001, -1.74, -0.37, 1.9, 0.27000001, 0.039999999, 0.43000001, 0.70999998)) => mat3x4(2.0163999, 3.2399998, 3.5344, 1.8769, 0.7396, 3.0276, 0.13690001, 3.6099999, 0.072900005, 0.0016, 0.1849, 0.50409997)
 * matrixCompMult(mat3x4(1.42, 1.8, -1.88, 1.37, -0.86000001, -1.74, -0.37, 1.9, 0.27000001, 0.039999999, 0.43000001, 0.70999998), mat3x4(-1.72, -0.31, 0.14, 0.40000001, 0.090000004, -1.58, 0.18000001, -0.76999998, 0.44999999, 1.92, -0.56, 1.76)) => mat3x4(-2.4424, -0.55799997, -0.26320001, 0.54800004, -0.077400006, 2.7492001, -0.066600002, -1.4629999, 0.1215, 0.076799996, -0.24080001, 1.2495999)
 * matrixCompMult(mat3x4(-1.72, -0.31, 0.14, 0.40000001, 0.090000004, -1.58, 0.18000001, -0.76999998, 0.44999999, 1.92, -0.56, 1.76), mat3x4(1.42, 1.8, -1.88, 1.37, -0.86000001, -1.74, -0.37, 1.9, 0.27000001, 0.039999999, 0.43000001, 0.70999998)) => mat3x4(-2.4424, -0.55799997, -0.26320001, 0.54800004, -0.077400006, 2.7492001, -0.066600002, -1.4629999, 0.1215, 0.076799996, -0.24080001, 1.2495999)
 * matrixCompMult(mat3x4(-1.72, -0.31, 0.14, 0.40000001, 0.090000004, -1.58, 0.18000001, -0.76999998, 0.44999999, 1.92, -0.56, 1.76), mat3x4(-1.72, -0.31, 0.14, 0.40000001, 0.090000004, -1.58, 0.18000001, -0.76999998, 0.44999999, 1.92, -0.56, 1.76)) => mat3x4(2.9584, 0.096100003, 0.0196, 0.16000001, 0.0081000002, 2.4964001, 0.032400001, 0.59289998, 0.20249999, 3.6863999, 0.3136, 3.0976)
 */
#version 120

void main()
{
  float[pow(distance(matrixCompMult(mat3x4(1.42, 1.8, -1.88, 1.37, -0.86000001, -1.74, -0.37, 1.9, 0.27000001, 0.039999999, 0.43000001, 0.70999998), mat3x4(1.42, 1.8, -1.88, 1.37, -0.86000001, -1.74, -0.37, 1.9, 0.27000001, 0.039999999, 0.43000001, 0.70999998))[0], vec4(2.0163999, 3.2399998, 3.5344, 1.8769)), 2) + pow(distance(matrixCompMult(mat3x4(1.42, 1.8, -1.88, 1.37, -0.86000001, -1.74, -0.37, 1.9, 0.27000001, 0.039999999, 0.43000001, 0.70999998), mat3x4(1.42, 1.8, -1.88, 1.37, -0.86000001, -1.74, -0.37, 1.9, 0.27000001, 0.039999999, 0.43000001, 0.70999998))[1], vec4(0.7396, 3.0276, 0.13690001, 3.6099999)), 2) + pow(distance(matrixCompMult(mat3x4(1.42, 1.8, -1.88, 1.37, -0.86000001, -1.74, -0.37, 1.9, 0.27000001, 0.039999999, 0.43000001, 0.70999998), mat3x4(1.42, 1.8, -1.88, 1.37, -0.86000001, -1.74, -0.37, 1.9, 0.27000001, 0.039999999, 0.43000001, 0.70999998))[2], vec4(0.072900005, 0.0016, 0.1849, 0.50409997)), 2) <= 5.3636033e-09 ? 1 : -1] array0;
  float[pow(distance(matrixCompMult(mat3x4(1.42, 1.8, -1.88, 1.37, -0.86000001, -1.74, -0.37, 1.9, 0.27000001, 0.039999999, 0.43000001, 0.70999998), mat3x4(-1.72, -0.31, 0.14, 0.40000001, 0.090000004, -1.58, 0.18000001, -0.76999998, 0.44999999, 1.92, -0.56, 1.76))[0], vec4(-2.4424, -0.55799997, -0.26320001, 0.54800004)), 2) + pow(distance(matrixCompMult(mat3x4(1.42, 1.8, -1.88, 1.37, -0.86000001, -1.74, -0.37, 1.9, 0.27000001, 0.039999999, 0.43000001, 0.70999998), mat3x4(-1.72, -0.31, 0.14, 0.40000001, 0.090000004, -1.58, 0.18000001, -0.76999998, 0.44999999, 1.92, -0.56, 1.76))[1], vec4(-0.077400006, 2.7492001, -0.066600002, -1.4629999)), 2) + pow(distance(matrixCompMult(mat3x4(1.42, 1.8, -1.88, 1.37, -0.86000001, -1.74, -0.37, 1.9, 0.27000001, 0.039999999, 0.43000001, 0.70999998), mat3x4(-1.72, -0.31, 0.14, 0.40000001, 0.090000004, -1.58, 0.18000001, -0.76999998, 0.44999999, 1.92, -0.56, 1.76))[2], vec4(0.1215, 0.076799996, -0.24080001, 1.2495999)), 2) <= 1.7995302e-09 ? 1 : -1] array1;
  float[pow(distance(matrixCompMult(mat3x4(-1.72, -0.31, 0.14, 0.40000001, 0.090000004, -1.58, 0.18000001, -0.76999998, 0.44999999, 1.92, -0.56, 1.76), mat3x4(1.42, 1.8, -1.88, 1.37, -0.86000001, -1.74, -0.37, 1.9, 0.27000001, 0.039999999, 0.43000001, 0.70999998))[0], vec4(-2.4424, -0.55799997, -0.26320001, 0.54800004)), 2) + pow(distance(matrixCompMult(mat3x4(-1.72, -0.31, 0.14, 0.40000001, 0.090000004, -1.58, 0.18000001, -0.76999998, 0.44999999, 1.92, -0.56, 1.76), mat3x4(1.42, 1.8, -1.88, 1.37, -0.86000001, -1.74, -0.37, 1.9, 0.27000001, 0.039999999, 0.43000001, 0.70999998))[1], vec4(-0.077400006, 2.7492001, -0.066600002, -1.4629999)), 2) + pow(distance(matrixCompMult(mat3x4(-1.72, -0.31, 0.14, 0.40000001, 0.090000004, -1.58, 0.18000001, -0.76999998, 0.44999999, 1.92, -0.56, 1.76), mat3x4(1.42, 1.8, -1.88, 1.37, -0.86000001, -1.74, -0.37, 1.9, 0.27000001, 0.039999999, 0.43000001, 0.70999998))[2], vec4(0.1215, 0.076799996, -0.24080001, 1.2495999)), 2) <= 1.7995302e-09 ? 1 : -1] array2;
  float[pow(distance(matrixCompMult(mat3x4(-1.72, -0.31, 0.14, 0.40000001, 0.090000004, -1.58, 0.18000001, -0.76999998, 0.44999999, 1.92, -0.56, 1.76), mat3x4(-1.72, -0.31, 0.14, 0.40000001, 0.090000004, -1.58, 0.18000001, -0.76999998, 0.44999999, 1.92, -0.56, 1.76))[0], vec4(2.9584, 0.096100003, 0.0196, 0.16000001)), 2) + pow(distance(matrixCompMult(mat3x4(-1.72, -0.31, 0.14, 0.40000001, 0.090000004, -1.58, 0.18000001, -0.76999998, 0.44999999, 1.92, -0.56, 1.76), mat3x4(-1.72, -0.31, 0.14, 0.40000001, 0.090000004, -1.58, 0.18000001, -0.76999998, 0.44999999, 1.92, -0.56, 1.76))[1], vec4(0.0081000002, 2.4964001, 0.032400001, 0.59289998)), 2) + pow(distance(matrixCompMult(mat3x4(-1.72, -0.31, 0.14, 0.40000001, 0.090000004, -1.58, 0.18000001, -0.76999998, 0.44999999, 1.92, -0.56, 1.76), mat3x4(-1.72, -0.31, 0.14, 0.40000001, 0.090000004, -1.58, 0.18000001, -0.76999998, 0.44999999, 1.92, -0.56, 1.76))[2], vec4(0.20249999, 3.6863999, 0.3136, 3.0976)), 2) <= 3.8696033e-09 ? 1 : -1] array3;
  gl_Position = vec4(array0.length() + array1.length() + array2.length() + array3.length());
}

Back to summary