Results for spec/glsl-1.20/compiler/built-in-functions/op-div-mat3x4-float.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.242038011551
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-mat3x4-float.vert pass 1.20
errors
  • Failed to compile vertex shader tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-div-mat3x4-float.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/op-div-mat3x4-float.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:
 * (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.33) => mat3x4(-1.0676692, -1.3533834, 1.4135338, -1.0300752, 0.64661652, 1.3082707, 0.27819547, -1.4285713, -0.20300752, -0.030075187, -0.32330826, -0.53383458)
 * (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.85000002) => mat3x4(1.6705881, 2.1176469, -2.2117646, 1.6117647, -1.0117646, -2.0470588, -0.43529412, 2.2352941, 0.31764707, 0.047058821, 0.50588232, 0.83529407)
 * (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.33) => mat3x4(1.293233, 0.2330827, -0.10526315, -0.30075186, -0.067669176, 1.1879699, -0.13533835, 0.57894731, -0.33834586, -1.443609, 0.4210526, -1.3233082)
 * (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.85000002) => mat3x4(-2.0235293, -0.36470586, 0.16470587, 0.47058824, 0.10588235, -1.8588235, 0.21176471, -0.9058823, 0.52941173, 2.2588234, -0.65882349, 2.0705881)
 */
#version 120

void main()
{
  float[pow(distance((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.33)[0], vec4(-1.0676692, -1.3533834, 1.4135338, -1.0300752)), 2) + pow(distance((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.33)[1], vec4(0.64661652, 1.3082707, 0.27819547, -1.4285713)), 2) + pow(distance((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.33)[2], vec4(-0.20300752, -0.030075187, -0.32330826, -0.53383458)), 2) <= 1.0710215e-09 ? 1 : -1] array0;
  float[pow(distance((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.85000002)[0], vec4(1.6705881, 2.1176469, -2.2117646, 1.6117647)), 2) + pow(distance((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.85000002)[1], vec4(-1.0117646, -2.0470588, -0.43529412, 2.2352941)), 2) + pow(distance((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.85000002)[2], vec4(0.31764707, 0.047058821, 0.50588232, 0.83529407)), 2) <= 2.6221867e-09 ? 1 : -1] array1;
  float[pow(distance((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.33)[0], vec4(1.293233, 0.2330827, -0.10526315, -0.30075186)), 2) + pow(distance((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.33)[1], vec4(-0.067669176, 1.1879699, -0.13533835, 0.57894731)), 2) + pow(distance((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.33)[2], vec4(-0.33834586, -1.443609, 0.4210526, -1.3233082)), 2) <= 7.7245749e-10 ? 1 : -1] array2;
  float[pow(distance((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.85000002)[0], vec4(-2.0235293, -0.36470586, 0.16470587, 0.47058824)), 2) + pow(distance((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.85000002)[1], vec4(0.10588235, -1.8588235, 0.21176471, -0.9058823)), 2) + pow(distance((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.85000002)[2], vec4(0.52941173, 2.2588234, -0.65882349, 2.0705881)), 2) <= 1.8912107e-09 ? 1 : -1] array3;
  gl_Position = vec4(array0.length() + array1.length() + array2.length() + array3.length());
}

Back to summary