Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 0.314949035645 |
note | Returncode was 1 |
command | /home/mks-hackers/piglit/framework/../bin/glslparsertest tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-div-float-vec4.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-div-float-vec4.vert: 0(15) : error C1307: non constant expression for array size 0(16) : error C1307: non constant expression for array size 0(17) : 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: * (0.0 / vec4(-1.65, 1.33, 1.9299999, 0.75999999)) => vec4(-0, 0.0, 0.0, 0.0) * (-1.33 / vec4(-1.65, 1.33, 1.9299999, 0.75999999)) => vec4(0.80606067, -1.0, -0.68911922, -1.7500001) * (0.85000002 / vec4(-1.65, 1.33, 1.9299999, 0.75999999)) => vec4(-0.51515156, 0.63909775, 0.44041452, 1.1184211) */ #version 120 void main() { float[distance((0.0 / vec4(-1.65, 1.33, 1.9299999, 0.75999999)), vec4(-0, 0.0, 0.0, 0.0)) <= 0.0 ? 1 : -1] array0; float[distance((-1.33 / vec4(-1.65, 1.33, 1.9299999, 0.75999999)), vec4(0.80606067, -1.0, -0.68911922, -1.7500001)) <= 2.277525e-05 ? 1 : -1] array1; float[distance((0.85000002 / vec4(-1.65, 1.33, 1.9299999, 0.75999999)), vec4(-0.51515156, 0.63909775, 0.44041452, 1.1184211)) <= 1.455561e-05 ? 1 : -1] array2; gl_Position = vec4(array0.length() + array1.length() + array2.length()); } |