Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 0.233727931976 |
note | Returncode was 1 |
command | /home/mks-hackers/piglit/framework/../bin/glslparsertest tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-neg-mat4x3.vert pass 1.20 |
errors |
|
info | Returncode: 1 Errors: Failed to compile vertex shader tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-neg-mat4x3.vert: 0(14) : error C1307: non constant expression for array size 0(15) : 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: * (- 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.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) */ #version 120 void main() { float[pow(distance((- 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((- 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((- 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((- 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((- 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((- 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((- 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((- 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; gl_Position = vec4(array0.length() + array1.length()); } |