Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 0.259464025497 |
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-mat4-mat2x4.frag pass 1.20 |
errors |
|
info | Returncode: 1 Errors: Failed to compile fragment shader tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-mult-mat4-mat2x4.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: * (mat4(-1.0, 1.77, 0.090000004, -0.91000003, -0.55000001, 0.62, -0.70999998, -1.8200001, -1.08, 0.47999999, -1.39, -1.4299999, 1.79, -1.35, -1.21, 0.72000003) * mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21)) => mat2x4(2.1234002, -1.021, 3.0251999, 3.7842, 0.74400002, -1.6783999, 2.8808, 1.6377999) * (mat4(-1.0, 1.77, 0.090000004, -0.91000003, -0.55000001, 0.62, -0.70999998, -1.8200001, -1.08, 0.47999999, -1.39, -1.4299999, 1.79, -1.35, -1.21, 0.72000003) * mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13)) => mat2x4(4.1761999, -3.9904001, 2.9196999, 6.4026999, 0.84659994, -0.07070002, -1.8617001, -0.29529998) * (mat4(0.059999999, 1.6, 1.25, -0.16, 1.3099999, -0.31999999, 0.44999999, 0.44999999, 1.52, 0.50999999, 1.9, -0.88, -1.96, -1.84, -0.72000003, 0.38999999) * mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21)) => mat2x4(-3.6440001, -0.33859998, -3.4516001, 1.1378, 0.86950016, -1.3957, -3.6927998, 1.3224) * (mat4(0.059999999, 1.6, 1.25, -0.16, 1.3099999, -0.31999999, 0.44999999, 0.44999999, 1.52, 0.50999999, 1.9, -0.88, -1.96, -1.84, -0.72000003, 0.38999999) * mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13)) => mat2x4(-5.2143998, -2.4700999, -5.25, 0.94140005, -1.6263, -0.61390001, 0.94589996, -0.1498) */ #version 120 void main() { float[pow(distance((mat4(-1.0, 1.77, 0.090000004, -0.91000003, -0.55000001, 0.62, -0.70999998, -1.8200001, -1.08, 0.47999999, -1.39, -1.4299999, 1.79, -1.35, -1.21, 0.72000003) * mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21))[0], vec4(2.1234002, -1.021, 3.0251999, 3.7842)), 2) + pow(distance((mat4(-1.0, 1.77, 0.090000004, -0.91000003, -0.55000001, 0.62, -0.70999998, -1.8200001, -1.08, 0.47999999, -1.39, -1.4299999, 1.79, -1.35, -1.21, 0.72000003) * mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21))[1], vec4(0.74400002, -1.6783999, 2.8808, 1.6377999)), 2) <= 4.3375228e-09 ? 1 : -1] array0; float[pow(distance((mat4(-1.0, 1.77, 0.090000004, -0.91000003, -0.55000001, 0.62, -0.70999998, -1.8200001, -1.08, 0.47999999, -1.39, -1.4299999, 1.79, -1.35, -1.21, 0.72000003) * mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13))[0], vec4(4.1761999, -3.9904001, 2.9196999, 6.4026999)), 2) + pow(distance((mat4(-1.0, 1.77, 0.090000004, -0.91000003, -0.55000001, 0.62, -0.70999998, -1.8200001, -1.08, 0.47999999, -1.39, -1.4299999, 1.79, -1.35, -1.21, 0.72000003) * mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13))[1], vec4(0.84659994, -0.07070002, -1.8617001, -0.29529998)), 2) <= 8.7158023e-09 ? 1 : -1] array1; float[pow(distance((mat4(0.059999999, 1.6, 1.25, -0.16, 1.3099999, -0.31999999, 0.44999999, 0.44999999, 1.52, 0.50999999, 1.9, -0.88, -1.96, -1.84, -0.72000003, 0.38999999) * mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21))[0], vec4(-3.6440001, -0.33859998, -3.4516001, 1.1378)), 2) + pow(distance((mat4(0.059999999, 1.6, 1.25, -0.16, 1.3099999, -0.31999999, 0.44999999, 0.44999999, 1.52, 0.50999999, 1.9, -0.88, -1.96, -1.84, -0.72000003, 0.38999999) * mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21))[1], vec4(0.86950016, -1.3957, -3.6927998, 1.3224)), 2) <= 4.4691033e-09 ? 1 : -1] array2; float[pow(distance((mat4(0.059999999, 1.6, 1.25, -0.16, 1.3099999, -0.31999999, 0.44999999, 0.44999999, 1.52, 0.50999999, 1.9, -0.88, -1.96, -1.84, -0.72000003, 0.38999999) * mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13))[0], vec4(-5.2143998, -2.4700999, -5.25, 0.94140005)), 2) + pow(distance((mat4(0.059999999, 1.6, 1.25, -0.16, 1.3099999, -0.31999999, 0.44999999, 0.44999999, 1.52, 0.50999999, 1.9, -0.88, -1.96, -1.84, -0.72000003, 0.38999999) * mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13))[1], vec4(-1.6263, -0.61390001, 0.94589996, -0.1498)), 2) <= 6.5678969e-09 ? 1 : -1] array3; gl_FragColor = vec4(array0.length() + array1.length() + array2.length() + array3.length()); } |