Results for spec/glsl-1.20/compiler/built-in-functions/op-mult-mat2x4-mat4x2.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.252607822418
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-mat2x4-mat4x2.frag pass 1.20
errors
  • Failed to compile fragment shader tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-mult-mat2x4-mat4x2.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-mat2x4-mat4x2.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:
 * (mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51)) => mat4(2.25, -2.1324, -1.4906, 1.3674001, 2.4296, -0.20079994, 3.6873999, 1.8566, -0.29290003, -0.50050002, -1.7668999, -0.31870002, 2.6559, -1.4109, 1.0282999, 1.8141)
 * (mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94)) => mat4(-0.51930004, -1.2549, -4.0588999, -0.63150001, -0.71710002, 1.4633, 2.4500999, -0.29410002, -0.19020002, -0.1494, -0.70480001, -0.1752, -1.3326, -0.72540009, -4.1282001, -1.1694)
 * (mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51)) => mat4(-2.7045999, -2.8175998, -3.4231, -0.76779997, -0.23740001, 1.6244, 0.66890007, -1.9786, -0.64120001, -1.3609, -1.1704, 0.5255, -1.7803999, -0.86969995, -1.7431999, -1.5113)
 * (mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94)) => mat4(-1.6059999, -3.2289, -2.8383999, 1.1327, 1.8623999, 2.6380999, 2.7186, -0.18390001, -0.19219999, -0.49379998, -0.3953, 0.24520001, -0.9364, -2.7462001, -2.1022, 1.5422)
 */
#version 120

void main()
{
  float[pow(distance((mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51))[0], vec4(2.25, -2.1324, -1.4906, 1.3674001)), 2) + pow(distance((mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51))[1], vec4(2.4296, -0.20079994, 3.6873999, 1.8566)), 2) + pow(distance((mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51))[2], vec4(-0.29290003, -0.50050002, -1.7668999, -0.31870002)), 2) + pow(distance((mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51))[3], vec4(2.6559, -1.4109, 1.0282999, 1.8141)), 2) <= 5.364106e-09 ? 1 : -1] array0;
  float[pow(distance((mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94))[0], vec4(-0.51930004, -1.2549, -4.0588999, -0.63150001)), 2) + pow(distance((mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94))[1], vec4(-0.71710002, 1.4633, 2.4500999, -0.29410002)), 2) + pow(distance((mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94))[2], vec4(-0.19020002, -0.1494, -0.70480001, -0.1752)), 2) + pow(distance((mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94))[3], vec4(-1.3326, -0.72540009, -4.1282001, -1.1694)), 2) <= 4.8760356e-09 ? 1 : -1] array1;
  float[pow(distance((mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51))[0], vec4(-2.7045999, -2.8175998, -3.4231, -0.76779997)), 2) + pow(distance((mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51))[1], vec4(-0.23740001, 1.6244, 0.66890007, -1.9786)), 2) + pow(distance((mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51))[2], vec4(-0.64120001, -1.3609, -1.1704, 0.5255)), 2) + pow(distance((mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51))[3], vec4(-1.7803999, -0.86969995, -1.7431999, -1.5113)), 2) <= 4.7776321e-09 ? 1 : -1] array2;
  float[pow(distance((mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94))[0], vec4(-1.6059999, -3.2289, -2.8383999, 1.1327)), 2) + pow(distance((mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94))[1], vec4(1.8623999, 2.6380999, 2.7186, -0.18390001)), 2) + pow(distance((mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94))[2], vec4(-0.19219999, -0.49379998, -0.3953, 0.24520001)), 2) + pow(distance((mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94))[3], vec4(-0.9364, -2.7462001, -2.1022, 1.5422)), 2) <= 5.5910516e-09 ? 1 : -1] array3;
  gl_FragColor = vec4(array0.length() + array1.length() + array2.length() + array3.length());
}

Back to summary