Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 0.297024965286 |
note | Returncode was 1 |
command | /home/mks-hackers/piglit/framework/../bin/glslparsertest tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/matrixCompMult-mat4x3-mat4x3.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/matrixCompMult-mat4x3-mat4x3.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: * matrixCompMult(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)) => mat4x3(0.072900005, 0.028900001, 3.4225001, 1.9044, 0.3136, 1.6640999, 1.9880999, 2.1609001, 3.1329, 0.0144, 3.4596, 9.9999997e-05) * matrixCompMult(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.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.1269, 0.034000002, 2.5715001, 0.207, -0.29679999, 0.24509999, -2.7776999, -2.6754, 2.8673999, 0.12599999, -2.6225998, 0.015799999) * matrixCompMult(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.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.1269, 0.034000002, 2.5715001, 0.207, -0.29679999, 0.24509999, -2.7776999, -2.6754, 2.8673999, 0.12599999, -2.6225998, 0.015799999) * matrixCompMult(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)) => mat4x3(0.2209, 0.040000003, 1.9320999, 0.022500001, 0.28089997, 0.0361, 3.8809001, 3.3124001, 2.6243999, 1.1024998, 1.9880999, 2.4964001) */ #version 120 void main() { float[pow(distance(matrixCompMult(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], vec3(0.072900005, 0.028900001, 3.4225001)), 2) + pow(distance(matrixCompMult(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))[1], vec3(1.9044, 0.3136, 1.6640999)), 2) + pow(distance(matrixCompMult(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))[2], vec3(1.9880999, 2.1609001, 3.1329)), 2) + pow(distance(matrixCompMult(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))[3], vec3(0.0144, 3.4596, 9.9999997e-05)), 2) <= 4.8620099e-09 ? 1 : -1] array0; float[pow(distance(matrixCompMult(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.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.1269, 0.034000002, 2.5715001)), 2) + pow(distance(matrixCompMult(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.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.207, -0.29679999, 0.24509999)), 2) + pow(distance(matrixCompMult(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.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.7776999, -2.6754, 2.8673999)), 2) + pow(distance(matrixCompMult(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.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.12599999, -2.6225998, 0.015799999)), 2) <= 3.6810401e-09 ? 1 : -1] array1; float[pow(distance(matrixCompMult(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.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.1269, 0.034000002, 2.5715001)), 2) + pow(distance(matrixCompMult(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.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.207, -0.29679999, 0.24509999)), 2) + pow(distance(matrixCompMult(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.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.7776999, -2.6754, 2.8673999)), 2) + pow(distance(matrixCompMult(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.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.12599999, -2.6225998, 0.015799999)), 2) <= 3.6810401e-09 ? 1 : -1] array2; float[pow(distance(matrixCompMult(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))[0], vec3(0.2209, 0.040000003, 1.9320999)), 2) + pow(distance(matrixCompMult(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], vec3(0.022500001, 0.28089997, 0.0361)), 2) + pow(distance(matrixCompMult(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))[2], vec3(3.8809001, 3.3124001, 2.6243999)), 2) + pow(distance(matrixCompMult(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))[3], vec3(1.1024998, 1.9880999, 2.4964001)), 2) <= 4.8185038e-09 ? 1 : -1] array3; gl_FragColor = vec4(array0.length() + array1.length() + array2.length() + array3.length()); } |