Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 0.285886049271 |
note | Returncode was 1 |
command | /home/mks-hackers/piglit/framework/../bin/glslparsertest tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/log-float.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/log-float.vert: 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: * log(0.0099999998) => -4.6051702 * log(0.67333335) => -0.39551476 * log(1.3366667) => 0.29017898 * log(2.0) => 0.69314718 */ #version 120 void main() { float[distance(log(0.0099999998), -4.6051702) <= 4.6051704e-05 ? 1 : -1] array0; float[distance(log(0.67333335), -0.39551476) <= 3.9551473e-06 ? 1 : -1] array1; float[distance(log(1.3366667), 0.29017898) <= 2.9017899e-06 ? 1 : -1] array2; float[distance(log(2.0), 0.69314718) <= 6.9314719e-06 ? 1 : -1] array3; gl_Position = vec4(array0.length() + array1.length() + array2.length() + array3.length()); } |