Results for spec/glsl-1.20/compiler/built-in-functions/op-mult-mat4x3-mat3x4.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.238610982895
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-mult-mat4x3-mat3x4.frag pass 1.20
errors
  • Failed to compile fragment shader tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-mult-mat4x3-mat3x4.frag: 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 fragment shader tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-mult-mat4x3-mat3x4.frag: 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:
 * (mat4x3(-0.27000001, -0.17, -1.85, -1.38, -0.56, -1.29, -1.41, 1.47, 1.77, -0.12, 1.86, 0.0099999998) * 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)) => mat3(-0.38099998, -1.4648, -8.2628994, 2.9270999, 4.1107001, 3.1996999, -0.81959999, 1.8844, 0.21709998)
 * (mat4x3(-0.27000001, -0.17, -1.85, -1.38, -0.56, -1.29, -1.41, 1.47, 1.77, -0.12, 1.86, 0.0099999998) * 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)) => mat3(0.64680004, 1.4158, 3.8337002, 1.9947001, -0.29809994, 2.1826, -2.1926999, 1.2987, -4.2828999)
 * (mat4x3(-0.47, -0.2, -1.39, -0.15000001, 0.52999997, -0.19, 1.97, -1.8200001, 1.62, -1.05, -1.41, 1.58) * 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)) => mat3(-6.0795002, 2.1599, -3.1967998, -2.0586998, -2.7557998, 3.9286001, -0.031299923, -1.8164999, 1.4355)
 * (mat4x3(-0.47, -0.2, -1.39, -0.15000001, 0.52999997, -0.19, 1.97, -1.8200001, 1.62, -1.05, -1.41, 1.58) * 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)) => mat3(0.71070004, -0.63909996, 3.3085001, 1.3578, -0.097300053, -0.74989998, -3.4507, -0.53479999, 0.88330007)
 */
#version 120

void main()
{
  float[pow(distance((mat4x3(-0.27000001, -0.17, -1.85, -1.38, -0.56, -1.29, -1.41, 1.47, 1.77, -0.12, 1.86, 0.0099999998) * 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], vec3(-0.38099998, -1.4648, -8.2628994)), 2) + pow(distance((mat4x3(-0.27000001, -0.17, -1.85, -1.38, -0.56, -1.29, -1.41, 1.47, 1.77, -0.12, 1.86, 0.0099999998) * 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], vec3(2.9270999, 4.1107001, 3.1996999)), 2) + pow(distance((mat4x3(-0.27000001, -0.17, -1.85, -1.38, -0.56, -1.29, -1.41, 1.47, 1.77, -0.12, 1.86, 0.0099999998) * 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], vec3(-0.81959999, 1.8844, 0.21709998)), 2) <= 1.1053998e-08 ? 1 : -1] array0;
  float[pow(distance((mat4x3(-0.27000001, -0.17, -1.85, -1.38, -0.56, -1.29, -1.41, 1.47, 1.77, -0.12, 1.86, 0.0099999998) * 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], vec3(0.64680004, 1.4158, 3.8337002)), 2) + pow(distance((mat4x3(-0.27000001, -0.17, -1.85, -1.38, -0.56, -1.29, -1.41, 1.47, 1.77, -0.12, 1.86, 0.0099999998) * 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], vec3(1.9947001, -0.29809994, 2.1826)), 2) + pow(distance((mat4x3(-0.27000001, -0.17, -1.85, -1.38, -0.56, -1.29, -1.41, 1.47, 1.77, -0.12, 1.86, 0.0099999998) * 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], vec3(-2.1926999, 1.2987, -4.2828999)), 2) <= 5.0789315e-09 ? 1 : -1] array1;
  float[pow(distance((mat4x3(-0.47, -0.2, -1.39, -0.15000001, 0.52999997, -0.19, 1.97, -1.8200001, 1.62, -1.05, -1.41, 1.58) * 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], vec3(-6.0795002, 2.1599, -3.1967998)), 2) + pow(distance((mat4x3(-0.47, -0.2, -1.39, -0.15000001, 0.52999997, -0.19, 1.97, -1.8200001, 1.62, -1.05, -1.41, 1.58) * 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], vec3(-2.0586998, -2.7557998, 3.9286001)), 2) + pow(distance((mat4x3(-0.47, -0.2, -1.39, -0.15000001, 0.52999997, -0.19, 1.97, -1.8200001, 1.62, -1.05, -1.41, 1.58) * 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], vec3(-0.031299923, -1.8164999, 1.4355)), 2) <= 8.44729e-09 ? 1 : -1] array2;
  float[pow(distance((mat4x3(-0.47, -0.2, -1.39, -0.15000001, 0.52999997, -0.19, 1.97, -1.8200001, 1.62, -1.05, -1.41, 1.58) * 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], vec3(0.71070004, -0.63909996, 3.3085001)), 2) + pow(distance((mat4x3(-0.47, -0.2, -1.39, -0.15000001, 0.52999997, -0.19, 1.97, -1.8200001, 1.62, -1.05, -1.41, 1.58) * 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], vec3(1.3578, -0.097300053, -0.74989998)), 2) + pow(distance((mat4x3(-0.47, -0.2, -1.39, -0.15000001, 0.52999997, -0.19, 1.97, -1.8200001, 1.62, -1.05, -1.41, 1.58) * 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], vec3(-3.4507, -0.53479999, 0.88330007)), 2) <= 2.7248717e-09 ? 1 : -1] array3;
  gl_FragColor = vec4(array0.length() + array1.length() + array2.length() + array3.length());
}

Back to summary