Result: fail
Detail | Value |
---|---|
Returncode | 1 |
Time | 0:00:00.133966 |
Stdout |
Shader source: /* [config] * expect_result: pass * glsl_version: 4.00 * [end config] * * Check that the following test vectors are constantfolded correctly: * round(dvec3(-2.0lf, -1.4285714285714286lf, -0.85714285714285721lf)) => dvec3(-2.0lf, -1.0lf, -1.0lf) * round(dvec3(-0.28571428571428581lf, 0.28571428571428559lf, 0.85714285714285676lf)) => dvec3(-0.0lf, 0.0lf, 1.0lf) * round(dvec3(1.4285714285714284lf, 2.0lf, -2.0lf)) => dvec3(1.0lf, 2.0lf, -2.0lf) */ #version 400 void main() { double[distance(round(dvec3(-2.0lf, -1.4285714285714286lf, -0.85714285714285721lf)), dvec3(-2.0lf, -1.0lf, -1.0lf)) <= 2.4494897427831785e-05lf ? 1 : -1] array0; double[distance(round(dvec3(-0.28571428571428581lf, 0.28571428571428559lf, 0.85714285714285676lf)), dvec3(-0.0lf, 0.0lf, 1.0lf)) <= 1.0000000000000001e-05lf ? 1 : -1] array1; double[distance(round(dvec3(1.4285714285714284lf, 2.0lf, -2.0lf)), dvec3(1.0lf, 2.0lf, -2.0lf)) <= 3.0000000000000004e-05lf ? 1 : -1] array2; gl_Position = dvec4(array0.length() + array1.length() + array2.length()); } |
Stderr |
Failed to compile geometry shader /Users/vlee/workspace/piglit/generated_tests/spec/glsl-4.00/compiler/built-in-functions/round-dvec3.geom: ERROR: 0:18: Incompatible types (vec4 and dvec4) in assignment (and no available implicit conversion) |
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/round-dvec3.geom pass 4.00 |
dmesg |