Result: fail
Detail | Value |
---|---|
Returncode | 1 |
Time | 0:00:00.130633 |
Stdout |
Shader source: /* [config] * expect_result: pass * glsl_version: 4.00 * [end config] * * Check that the following test vectors are constantfolded correctly: * smoothstep(-1.8999999999999999lf, -0.6333333333333333lf, -2.0lf) => 0.0lf * smoothstep(-1.8999999999999999lf, -0.6333333333333333lf, -0.66666666666666674lf) => 0.99795888613500516lf * smoothstep(-1.8999999999999999lf, -0.6333333333333333lf, 0.66666666666666652lf) => 1.0lf * smoothstep(-1.8999999999999999lf, -0.6333333333333333lf, 2.0lf) => 1.0lf * smoothstep(-1.8999999999999999lf, 0.6333333333333333lf, -2.0lf) => 0.0lf * smoothstep(-1.8999999999999999lf, 0.6333333333333333lf, -0.66666666666666674lf) => 0.48026771395247109lf * smoothstep(-1.8999999999999999lf, 0.6333333333333333lf, 0.66666666666666652lf) => 1.0lf * smoothstep(-1.8999999999999999lf, 0.6333333333333333lf, 2.0lf) => 1.0lf * smoothstep(-1.8999999999999999lf, 1.8999999999999999lf, -2.0lf) => 0.0lf * smoothstep(-1.8999999999999999lf, 1.8999999999999999lf, -0.66666666666666674lf) => 0.24764164952239009lf * smoothstep(-1.8999999999999999lf, 1.8999999999999999lf, 0.66666666666666652lf) => 0.75235835047760979lf * smoothstep(-1.8999999999999999lf, 1.8999999999999999lf, 2.0lf) => 1.0lf * smoothstep(-0.6333333333333333lf, 0.6333333333333333lf, -2.0lf) => 0.0lf * smoothstep(-0.6333333333333333lf, 0.6333333333333333lf, -0.66666666666666674lf) => 0.0lf * smoothstep(-0.6333333333333333lf, 0.6333333333333333lf, 0.66666666666666652lf) => 1.0lf * smoothstep(-0.6333333333333333lf, 0.6333333333333333lf, 2.0lf) => 1.0lf * smoothstep(-0.6333333333333333lf, 1.8999999999999999lf, -2.0lf) => 0.0lf * smoothstep(-0.6333333333333333lf, 1.8999999999999999lf, -0.66666666666666674lf) => 0.0lf * smoothstep(-0.6333333333333333lf, 1.8999999999999999lf, 0.66666666666666652lf) => 0.51973228604752864lf * smoothstep(-0.6333333333333333lf, 1.8999999999999999lf, 2.0lf) => 1.0lf * smoothstep(0.6333333333333333lf, 1.8999999999999999lf, -2.0lf) => 0.0lf * smoothstep(0.6333333333333333lf, 1.8999999999999999lf, -0.66666666666666674lf) => 0.0lf * smoothstep(0.6333333333333333lf, 1.8999999999999999lf, 0.66666666666666652lf) => 0.0020411138649948832lf * smoothstep(0.6333333333333333lf, 1.8999999999999999lf, 2.0lf) => 1.0lf */ #version 400 void main() { double[distance(smoothstep(-1.8999999999999999lf, -0.6333333333333333lf, -2.0lf), 0.0lf) <= 0.0lf ? 1 : -1] array0; double[distance(smoothstep(-1.8999999999999999lf, -0.6333333333333333lf, -0.66666666666666674lf), 0.99795888613500516lf) <= 9.9795888613500527e-06lf ? 1 : -1] array1; double[distance(smoothstep(-1.8999999999999999lf, -0.6333333333333333lf, 0.66666666666666652lf), 1.0lf) <= 1.0000000000000001e-05lf ? 1 : -1] array2; double[distance(smoothstep(-1.8999999999999999lf, -0.6333333333333333lf, 2.0lf), 1.0lf) <= 1.0000000000000001e-05lf ? 1 : -1] array3; double[distance(smoothstep(-1.8999999999999999lf, 0.6333333333333333lf, -2.0lf), 0.0lf) <= 0.0lf ? 1 : -1] array4; double[distance(smoothstep(-1.8999999999999999lf, 0.6333333333333333lf, -0.66666666666666674lf), 0.48026771395247109lf) <= 4.8026771395247115e-06lf ? 1 : -1] array5; double[distance(smoothstep(-1.8999999999999999lf, 0.6333333333333333lf, 0.66666666666666652lf), 1.0lf) <= 1.0000000000000001e-05lf ? 1 : -1] array6; double[distance(smoothstep(-1.8999999999999999lf, 0.6333333333333333lf, 2.0lf), 1.0lf) <= 1.0000000000000001e-05lf ? 1 : -1] array7; double[distance(smoothstep(-1.8999999999999999lf, 1.8999999999999999lf, -2.0lf), 0.0lf) <= 0.0lf ? 1 : -1] array8; double[distance(smoothstep(-1.8999999999999999lf, 1.8999999999999999lf, -0.66666666666666674lf), 0.24764164952239009lf) <= 2.4764164952239012e-06lf ? 1 : -1] array9; double[distance(smoothstep(-1.8999999999999999lf, 1.8999999999999999lf, 0.66666666666666652lf), 0.75235835047760979lf) <= 7.5235835047760987e-06lf ? 1 : -1] array10; double[distance(smoothstep(-1.8999999999999999lf, 1.8999999999999999lf, 2.0lf), 1.0lf) <= 1.0000000000000001e-05lf ? 1 : -1] array11; double[distance(smoothstep(-0.6333333333333333lf, 0.6333333333333333lf, -2.0lf), 0.0lf) <= 0.0lf ? 1 : -1] array12; double[distance(smoothstep(-0.6333333333333333lf, 0.6333333333333333lf, -0.66666666666666674lf), 0.0lf) <= 0.0lf ? 1 : -1] array13; double[distance(smoothstep(-0.6333333333333333lf, 0.6333333333333333lf, 0.66666666666666652lf), 1.0lf) <= 1.0000000000000001e-05lf ? 1 : -1] array14; double[distance(smoothstep(-0.6333333333333333lf, 0.6333333333333333lf, 2.0lf), 1.0lf) <= 1.0000000000000001e-05lf ? 1 : -1] array15; double[distance(smoothstep(-0.6333333333333333lf, 1.8999999999999999lf, -2.0lf), 0.0lf) <= 0.0lf ? 1 : -1] array16; double[distance(smoothstep(-0.6333333333333333lf, 1.8999999999999999lf, -0.66666666666666674lf), 0.0lf) <= 0.0lf ? 1 : -1] array17; double[distance(smoothstep(-0.6333333333333333lf, 1.8999999999999999lf, 0.66666666666666652lf), 0.51973228604752864lf) <= 5.1973228604752868e-06lf ? 1 : -1] array18; double[distance(smoothstep(-0.6333333333333333lf, 1.8999999999999999lf, 2.0lf), 1.0lf) <= 1.0000000000000001e-05lf ? 1 : -1] array19; double[distance(smoothstep(0.6333333333333333lf, 1.8999999999999999lf, -2.0lf), 0.0lf) <= 0.0lf ? 1 : -1] array20; double[distance(smoothstep(0.6333333333333333lf, 1.8999999999999999lf, -0.66666666666666674lf), 0.0lf) <= 0.0lf ? 1 : -1] array21; double[distance(smoothstep(0.6333333333333333lf, 1.8999999999999999lf, 0.66666666666666652lf), 0.0020411138649948832lf) <= 2.0411138649948833e-08lf ? 1 : -1] array22; double[distance(smoothstep(0.6333333333333333lf, 1.8999999999999999lf, 2.0lf), 1.0lf) <= 1.0000000000000001e-05lf ? 1 : -1] array23; gl_FragColor = dvec4(array0.length() + array1.length() + array2.length() + array3.length() + array4.length() + array5.length() + array6.length() + array7.length() + array8.length() + array9.length() + array10.length() + array11.length() + array12.length() + array13.length() + array14.length() + array15.length() + array16.length() + array17.length() + array18.length() + array19.length() + array20.length() + array21.length() + array22.length() + array23.length()); } |
Stderr |
Failed to compile fragment shader /Users/vlee/workspace/piglit/generated_tests/spec/glsl-4.00/compiler/built-in-functions/smoothstep-double-double-double.frag: ERROR: 0:60: Use of undeclared identifier 'gl_FragColor' |
Environment |
PIGLIT_SOURCE_DIR="/Users/vlee/workspace/piglit" PIGLIT_PLATFORM="mixed_glx_egl" |
Command | /Users/vlee/workspace/piglit/bin/glslparsertest /Users/vlee/workspace/piglit/generated_tests/spec/glsl-4.00/compiler/built-in-functions/smoothstep-double-double-double.frag pass 4.00 |
dmesg |