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

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.354462862015
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-sub-float-mat4x3.frag pass 1.20
errors
  • Failed to compile fragment shader tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-sub-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-sub-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.27000001, 0.17, 1.85, 1.38, 0.56, 1.29, 1.41, -1.47, -1.77, 0.12, -1.86, -0.0099999998)
 * (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.47, 0.2, 1.39, 0.15000001, -0.52999997, 0.19, -1.97, 1.8200001, -1.62, 1.05, 1.41, -1.58)
 * (-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(-1.0600001, -1.1600001, 0.51999998, 0.049999952, -0.77000004, -0.040000081, 0.079999924, -2.8000002, -3.0999999, -1.21, -3.1900001, -1.34)
 * (-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(-0.86000001, -1.13, 0.059999943, -1.1800001, -1.86, -1.1400001, -3.3000002, 0.49000001, -2.95, -0.28000009, 0.079999924, -2.9100001)
 * (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(1.12, 1.02, 2.7, 2.23, 1.4100001, 2.1399999, 2.26, -0.62, -0.91999996, 0.97000003, -1.01, 0.84000003)
 * (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.3200001, 1.0500001, 2.24, 1.0, 0.32000005, 1.04, -1.12, 2.6700001, -0.76999998, 1.9, 2.26, -0.73000002)
 */
#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.27000001, 0.17, 1.85)), 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(1.38, 0.56, 1.29)), 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(1.41, -1.47, -1.77)), 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.12, -1.86, -0.0099999998)), 2) <= 1.81624e-09 ? 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.47, 0.2, 1.39)), 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.15000001, -0.52999997, 0.19)), 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(-1.97, 1.8200001, -1.62)), 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(1.05, 1.41, -1.58)), 2) <= 1.7937202e-09 ? 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(-1.0600001, -1.1600001, 0.51999998)), 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.049999952, -0.77000004, -0.040000081)), 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.079999924, -2.8000002, -3.0999999)), 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(-1.21, -3.1900001, -1.34)), 2) <= 3.4228802e-09 ? 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(-0.86000001, -1.13, 0.059999943)), 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(-1.1800001, -1.86, -1.1400001)), 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(-3.3000002, 0.49000001, -2.95)), 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(-0.28000009, 0.079999924, -2.9100001)), 2) <= 3.6557199e-09 ? 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(1.12, 1.02, 2.7)), 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(2.23, 1.4100001, 2.1399999)), 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(2.26, -0.62, -0.91999996)), 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(0.97000003, -1.01, 0.84000003)), 2) <= 3.0130403e-09 ? 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.3200001, 1.0500001, 2.24)), 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(1.0, 0.32000005, 1.04)), 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(-1.12, 2.6700001, -0.76999998)), 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(1.9, 2.26, -0.73000002)), 2) <= 2.8273199e-09 ? 1 : -1] array5;
  gl_FragColor = vec4(array0.length() + array1.length() + array2.length() + array3.length() + array4.length() + array5.length());
}

Back to summary