Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 0.223237037659 |
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-mat4x2-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-mat4x2-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: * (mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51) * mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21)) => mat2(-0.4368, 0.62559998, -5.5169997, 2.5332) * (mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51) * mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13)) => mat2(-1.5122999, 2.8254998, 2.5676999, -2.2495999) * (mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94) * mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21)) => mat2(1.0762, -0.40000001, -6.5741, -2.0064001) * (mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94) * mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13)) => mat2(0.72350007, -0.88319999, 3.5843999, 1.4555) */ #version 120 void main() { float[pow(distance((mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51) * mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21))[0], vec2(-0.4368, 0.62559998)), 2) + pow(distance((mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51) * mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21))[1], vec2(-5.5169997, 2.5332)), 2) <= 3.7436556e-09 ? 1 : -1] array0; float[pow(distance((mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51) * mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13))[0], vec2(-1.5122999, 2.8254998)), 2) + pow(distance((mat4x2(1.8099999, -1.16, -0.87, -1.52, 0.81, 0.25, 0.64999998, -1.51) * mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13))[1], vec2(2.5676999, -2.2495999)), 2) <= 2.1924282e-09 ? 1 : -1] array1; float[pow(distance((mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94) * mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21))[0], vec2(1.0762, -0.40000001)), 2) + pow(distance((mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94) * mat2x4(0.16, -0.80000001, -1.74, -0.02, -1.6900001, 0.58999997, -1.4299999, -1.21))[1], vec2(-6.5741, -2.0064001)), 2) <= 4.8562634e-09 ? 1 : -1] array2; float[pow(distance((mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94) * mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13))[0], vec2(0.72350007, -0.88319999)), 2) + pow(distance((mat4x2(1.9299999, 0.49000001, -1.63, 0.27000001, 0.28999999, 0.14, 1.6, 0.94) * mat2x4(-1.02, -1.64, -1.59, 0.30000001, 0.74000001, -0.13, 0.47, 1.13))[1], vec2(3.5843999, 1.4555)), 2) <= 1.6269902e-09 ? 1 : -1] array3; gl_FragColor = vec4(array0.length() + array1.length() + array2.length() + array3.length()); } |