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

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.319646835327
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-mat2x3-mat4x2.frag pass 1.20
errors
  • Failed to compile fragment shader tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-mult-mat2x3-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-mat2x3-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:
 * (mat2x3(-0.46000001, -0.44999999, 1.03, 1.9400001, -0.75, -0.5) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51)) => mat4x3(-3.0829999, 0.055500023, 2.4442999, -2.5486, 1.5315, -0.13609999, 0.1124, -0.55199999, 0.70929998, -3.2284, 0.84000003, 1.4245)
 * (mat2x3(-0.46000001, -0.44999999, 1.03, 1.9400001, -0.75, -0.5) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94)) => mat4x3(0.062800057, -1.2359999, 1.7428999, 1.2736001, 0.53099996, -1.8139, 0.13820001, -0.23549999, 0.22869998, 1.0876, -1.425, 1.178)
 * (mat2x3(1.38, -1.27, 1.0, -1.08, 1.83, -0.74000001) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51)) => mat4x3(3.7505999, -4.4214997, 2.6683998, 0.44100004, -1.6767, 0.25479999, 0.84780002, -0.57119995, 0.625, 2.5278001, -3.5888, 1.7674)
 * (mat2x3(1.38, -1.27, 1.0, -1.08, 1.83, -0.74000001) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94)) => mat4x3(2.1341999, -1.5543998, 1.5674, -2.5410001, 2.5641999, -1.8298, 0.24899998, -0.11209998, 0.1864, 1.1928, -0.31179997, 0.90439999)
 */
#version 120

void main()
{
  float[pow(distance((mat2x3(-0.46000001, -0.44999999, 1.03, 1.9400001, -0.75, -0.5) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51))[0], vec3(-3.0829999, 0.055500023, 2.4442999)), 2) + pow(distance((mat2x3(-0.46000001, -0.44999999, 1.03, 1.9400001, -0.75, -0.5) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51))[1], vec3(-2.5486, 1.5315, -0.13609999)), 2) + pow(distance((mat2x3(-0.46000001, -0.44999999, 1.03, 1.9400001, -0.75, -0.5) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51))[2], vec3(0.1124, -0.55199999, 0.70929998)), 2) + pow(distance((mat2x3(-0.46000001, -0.44999999, 1.03, 1.9400001, -0.75, -0.5) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51))[3], vec3(-3.2284, 0.84000003, 1.4245)), 2) <= 3.8319765e-09 ? 1 : -1] array0;
  float[pow(distance((mat2x3(-0.46000001, -0.44999999, 1.03, 1.9400001, -0.75, -0.5) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94))[0], vec3(0.062800057, -1.2359999, 1.7428999)), 2) + pow(distance((mat2x3(-0.46000001, -0.44999999, 1.03, 1.9400001, -0.75, -0.5) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94))[1], vec3(1.2736001, 0.53099996, -1.8139)), 2) + pow(distance((mat2x3(-0.46000001, -0.44999999, 1.03, 1.9400001, -0.75, -0.5) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94))[2], vec3(0.13820001, -0.23549999, 0.22869998)), 2) + pow(distance((mat2x3(-0.46000001, -0.44999999, 1.03, 1.9400001, -0.75, -0.5) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94))[3], vec3(1.0876, -1.425, 1.178)), 2) <= 1.4491637e-09 ? 1 : -1] array1;
  float[pow(distance((mat2x3(1.38, -1.27, 1.0, -1.08, 1.83, -0.74000001) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51))[0], vec3(3.7505999, -4.4214997, 2.6683998)), 2) + pow(distance((mat2x3(1.38, -1.27, 1.0, -1.08, 1.83, -0.74000001) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51))[1], vec3(0.44100004, -1.6767, 0.25479999)), 2) + pow(distance((mat2x3(1.38, -1.27, 1.0, -1.08, 1.83, -0.74000001) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51))[2], vec3(0.84780002, -0.57119995, 0.625)), 2) + pow(distance((mat2x3(1.38, -1.27, 1.0, -1.08, 1.83, -0.74000001) * mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51))[3], vec3(2.5278001, -3.5888, 1.7674)), 2) <= 6.7636372e-09 ? 1 : -1] array2;
  float[pow(distance((mat2x3(1.38, -1.27, 1.0, -1.08, 1.83, -0.74000001) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94))[0], vec3(2.1341999, -1.5543998, 1.5674)), 2) + pow(distance((mat2x3(1.38, -1.27, 1.0, -1.08, 1.83, -0.74000001) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94))[1], vec3(-2.5410001, 2.5641999, -1.8298)), 2) + pow(distance((mat2x3(1.38, -1.27, 1.0, -1.08, 1.83, -0.74000001) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94))[2], vec3(0.24899998, -0.11209998, 0.1864)), 2) + pow(distance((mat2x3(1.38, -1.27, 1.0, -1.08, 1.83, -0.74000001) * mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94))[3], vec3(1.1928, -0.31179997, 0.90439999)), 2) <= 2.8254923e-09 ? 1 : -1] array3;
  gl_FragColor = vec4(array0.length() + array1.length() + array2.length() + array3.length());
}

Back to summary