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

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.285802125931
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-add-float-mat4x3.frag pass 1.20
errors
  • Failed to compile fragment shader tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-add-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-add-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.6, -1.5, -3.1800001, -2.71, -1.8900001, -2.6199999, -2.74, 0.13999999, 0.43999994, -1.45, 0.52999997, -1.3200001)
 * (-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(-1.8000001, -1.5300001, -2.72, -1.48, -0.80000007, -1.52, 0.63999999, -3.1500001, 0.28999996, -2.3800001, -2.74, 0.25)
 * (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(0.58000004, 0.68000001, -1.0, -0.52999997, 0.29000002, -0.43999994, -0.55999994, 2.3200002, 2.6199999, 0.73000002, 2.71, 0.86000001)
 * (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(0.38000003, 0.65000004, -0.53999996, 0.70000005, 1.38, 0.66000003, 2.8200002, -0.97000003, 2.47, -0.19999993, -0.55999994, 2.4300001)
 */
#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.6, -1.5, -3.1800001)), 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(-2.71, -1.8900001, -2.6199999)), 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(-2.74, 0.13999999, 0.43999994)), 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.45, 0.52999997, -1.3200001)), 2) <= 4.45496e-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(-1.8000001, -1.5300001, -2.72)), 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.48, -0.80000007, -1.52)), 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.63999999, -3.1500001, 0.28999996)), 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(-2.3800001, -2.74, 0.25)), 2) <= 4.1770796e-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(0.58000004, 0.68000001, -1.0)), 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.52999997, 0.29000002, -0.43999994)), 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.55999994, 2.3200002, 2.6199999)), 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.73000002, 2.71, 0.86000001)), 2) <= 2.3534394e-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(0.38000003, 0.65000004, -0.53999996)), 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(0.70000005, 1.38, 0.66000003)), 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(2.8200002, -0.97000003, 2.47)), 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.19999993, -0.55999994, 2.4300001)), 2) <= 2.4941205e-09 ? 1 : -1] array5;
  gl_FragColor = vec4(array0.length() + array1.length() + array2.length() + array3.length() + array4.length() + array5.length());
}

Back to summary