Results for spec@glsl-4.00@compiler@built-in-functions@length-dvec3.geom

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.141228
Stdout
Shader source:
/* [config]
 * expect_result: pass
 * glsl_version: 4.00
 * [end config]
 *
 * Check that the following test vectors are constantfolded correctly:
 * length(dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf)) => 1.8395319452996128lf
 * length(dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf)) => 2.5925662961629352lf
 */
#version 400

void main()
{
  double[distance(length(dvec3(-1.3333333333333333lf, -0.84999999999999998lf, -0.93999999999999995lf)), 1.8395319452996128lf) <= 1.8395319452996129e-05lf ? 1 : -1] array0;
  double[distance(length(dvec3(1.6699999999999999lf, 0.66000000000000003lf, 1.8700000000000001lf)), 2.5925662961629352lf) <= 2.5925662961629354e-05lf ? 1 : -1] array1;
  gl_Position = dvec4(array0.length() + array1.length());
}

Stderr
Failed to compile geometry shader /Users/vlee/workspace/piglit/generated_tests/spec/glsl-4.00/compiler/built-in-functions/length-dvec3.geom: ERROR: 0:16: 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/length-dvec3.geom pass 4.00
dmesg

        

Back to summary