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

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.234647989273
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-mat3x2.frag pass 1.20
errors
  • Failed to compile fragment shader tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-mult-mat2x3-mat3x2.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-mat3x2.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) * mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08)) => mat3(-2.3500001, 0.85200006, 0.68770003, -0.44279999, -0.64499998, 1.2989999, 1.5202001, -1.3725001, 0.74749994)
 * (mat2x3(-0.46000001, -0.44999999, 1.03, 1.9400001, -0.75, -0.5) * mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79)) => mat3(-0.86259997, 0.55949998, -0.10580002, 2.204, -0.17399999, -1.5524, -3.1966, 1.6125, 0.27699998)
 * (mat2x3(1.38, -1.27, 1.0, -1.08, 1.83, -0.74000001) * mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08)) => mat3(1.4094001, -2.2920001, 0.97060007, 1.7075999, -1.5045999, 1.2407999, 0.55859989, 0.38890016, 0.45079997)
 * (mat2x3(1.38, -1.27, 1.0, -1.08, 1.83, -0.74000001) * mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79)) => mat3(0.075599976, -0.51269996, 0.032199971, -2.4408002, 2.9820001, -1.7312001, 1.1052001, -2.5137, 0.72459996)
 */
#version 120

void main()
{
  float[pow(distance((mat2x3(-0.46000001, -0.44999999, 1.03, 1.9400001, -0.75, -0.5) * mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08))[0], vec3(-2.3500001, 0.85200006, 0.68770003)), 2) + pow(distance((mat2x3(-0.46000001, -0.44999999, 1.03, 1.9400001, -0.75, -0.5) * mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08))[1], vec3(-0.44279999, -0.64499998, 1.2989999)), 2) + pow(distance((mat2x3(-0.46000001, -0.44999999, 1.03, 1.9400001, -0.75, -0.5) * mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08))[2], vec3(1.5202001, -1.3725001, 0.74749994)), 2) <= 1.3774356e-09 ? 1 : -1] array0;
  float[pow(distance((mat2x3(-0.46000001, -0.44999999, 1.03, 1.9400001, -0.75, -0.5) * mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79))[0], vec3(-0.86259997, 0.55949998, -0.10580002)), 2) + pow(distance((mat2x3(-0.46000001, -0.44999999, 1.03, 1.9400001, -0.75, -0.5) * mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79))[1], vec3(2.204, -0.17399999, -1.5524)), 2) + pow(distance((mat2x3(-0.46000001, -0.44999999, 1.03, 1.9400001, -0.75, -0.5) * mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79))[2], vec3(-3.1966, 1.6125, 0.27699998)), 2) <= 2.1261286e-09 ? 1 : -1] array1;
  float[pow(distance((mat2x3(1.38, -1.27, 1.0, -1.08, 1.83, -0.74000001) * mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08))[0], vec3(1.4094001, -2.2920001, 0.97060007)), 2) + pow(distance((mat2x3(1.38, -1.27, 1.0, -1.08, 1.83, -0.74000001) * mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08))[1], vec3(1.7075999, -1.5045999, 1.2407999)), 2) + pow(distance((mat2x3(1.38, -1.27, 1.0, -1.08, 1.83, -0.74000001) * mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08))[2], vec3(0.55859989, 0.38890016, 0.45079997)), 2) <= 1.5567536e-09 ? 1 : -1] array2;
  float[pow(distance((mat2x3(1.38, -1.27, 1.0, -1.08, 1.83, -0.74000001) * mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79))[0], vec3(0.075599976, -0.51269996, 0.032199971)), 2) + pow(distance((mat2x3(1.38, -1.27, 1.0, -1.08, 1.83, -0.74000001) * mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79))[1], vec3(-2.4408002, 2.9820001, -1.7312001)), 2) + pow(distance((mat2x3(1.38, -1.27, 1.0, -1.08, 1.83, -0.74000001) * mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79))[2], vec3(1.1052001, -2.5137, 0.72459996)), 2) <= 2.6181699e-09 ? 1 : -1] array3;
  gl_FragColor = vec4(array0.length() + array1.length() + array2.length() + array3.length());
}

Back to summary