Results for spec/glsl-1.20/compiler/built-in-functions/op-div-float-mat4x3.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.225942850113
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-div-float-mat4x3.frag pass 1.20
errors
  • Failed to compile fragment shader tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-div-float-mat4x3.frag: 0(18) : error C1307: non constant expression for array size
  • 0(19) : error C1307: non constant expression for array size
  • 0(20) : error C1307: non constant expression for array size
  • 0(21) : error C1307: non constant expression for array size
  • 0(22) : error C1307: non constant expression for array size
  • 0(23) : 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-div-float-mat4x3.frag: 0(18) : error C1307: non constant expression for array size
0(19) : error C1307: non constant expression for array size
0(20) : error C1307: non constant expression for array size
0(21) : error C1307: non constant expression for array size
0(22) : error C1307: non constant expression for array size
0(23) : 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:
 * (0.0 / 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)) => mat4x3(-0, -0, -0, -0, -0, -0, -0, 0.0, 0.0, -0, 0.0, 0.0)
 * (0.0 / 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)) => mat4x3(-0, -0, -0, -0, 0.0, -0, 0.0, -0, 0.0, -0, -0, 0.0)
 * (-1.33 / 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)) => mat4x3(4.9259257, 7.8235297, 0.71891892, 0.96376812, 2.375, 1.0310078, 0.94326246, -0.90476191, -0.75141245, 11.083334, -0.7150538, -133.0)
 * (-1.33 / 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)) => mat4x3(2.8297873, 6.6500001, 0.95683455, 8.8666668, -2.5094342, 7.0000005, -0.67512691, 0.73076922, -0.8209877, 1.2666668, 0.94326246, -0.84177214)
 * (0.85000002 / 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)) => mat4x3(-3.1481481, -5.0, -0.45945945, -0.61594206, -1.5178572, -0.65891474, -0.60283691, 0.57823128, 0.48022601, -7.0833335, 0.45698926, 85.000008)
 * (0.85000002 / 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)) => mat4x3(-1.8085107, -4.25, -0.61151081, -5.6666665, 1.6037737, -4.4736843, 0.43147209, -0.46703297, 0.52469134, -0.80952388, -0.60283691, 0.53797466)
 */
#version 120

void main()
{
  float[pow(distance((0.0 / 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))[0], vec3(-0, -0, -0)), 2) + pow(distance((0.0 / 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))[1], vec3(-0, -0, -0)), 2) + pow(distance((0.0 / 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))[2], vec3(-0, 0.0, 0.0)), 2) + pow(distance((0.0 / 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))[3], vec3(-0, 0.0, 0.0)), 2) <= 0.0 ? 1 : -1] array0;
  float[pow(distance((0.0 / 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))[0], vec3(-0, -0, -0)), 2) + pow(distance((0.0 / 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))[1], vec3(-0, 0.0, -0)), 2) + pow(distance((0.0 / 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))[2], vec3(0.0, -0, 0.0)), 2) + pow(distance((0.0 / 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))[3], vec3(-0, -0, 0.0)), 2) <= 0.0 ? 1 : -1] array1;
  float[pow(distance((-1.33 / 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))[0], vec3(4.9259257, 7.8235297, 0.71891892)), 2) + pow(distance((-1.33 / 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))[1], vec3(0.96376812, 2.375, 1.0310078)), 2) + pow(distance((-1.33 / 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))[2], vec3(0.94326246, -0.90476191, -0.75141245)), 2) + pow(distance((-1.33 / 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))[3], vec3(11.083334, -0.7150538, -133.0)), 2) <= 1.7908249e-06 ? 1 : -1] array2;
  float[pow(distance((-1.33 / 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))[0], vec3(2.8297873, 6.6500001, 0.95683455)), 2) + pow(distance((-1.33 / 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))[1], vec3(8.8666668, -2.5094342, 7.0000005)), 2) + pow(distance((-1.33 / 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))[2], vec3(-0.67512691, 0.73076922, -0.8209877)), 2) + pow(distance((-1.33 / 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))[3], vec3(1.2666668, 0.94326246, -0.84177214)), 2) <= 1.9192738e-08 ? 1 : -1] array3;
  float[pow(distance((0.85000002 / 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))[0], vec3(-3.1481481, -5.0, -0.45945945)), 2) + pow(distance((0.85000002 / 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))[1], vec3(-0.61594206, -1.5178572, -0.65891474)), 2) + pow(distance((0.85000002 / 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))[2], vec3(-0.60283691, 0.57823128, 0.48022601)), 2) + pow(distance((0.85000002 / 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))[3], vec3(-7.0833335, 0.45698926, 85.000008)), 2) <= 7.3145526e-07 ? 1 : -1] array4;
  float[pow(distance((0.85000002 / 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))[0], vec3(-1.8085107, -4.25, -0.61151081)), 2) + pow(distance((0.85000002 / 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))[1], vec3(-5.6666665, 1.6037737, -4.4736843)), 2) + pow(distance((0.85000002 / 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))[2], vec3(0.43147209, -0.46703297, 0.52469134)), 2) + pow(distance((0.85000002 / 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))[3], vec3(-0.80952388, -0.60283691, 0.53797466)), 2) <= 7.8391951e-09 ? 1 : -1] array5;
  gl_FragColor = vec4(array0.length() + array1.length() + array2.length() + array3.length() + array4.length() + array5.length());
}

Back to summary