Results for spec@arb_gpu_shader_fp64@compiler@built-in-functions@mix-dvec4-dvec4-bvec4.geom

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.142543
Stdout
Shader source:
/* [config]
 * expect_result: pass
 * glsl_version: 1.50
 * require_extensions: GL_ARB_gpu_shader_fp64
 * [end config]
 *
 * Check that the following test vectors are constantfolded correctly:
 * mix(dvec4(-2.0lf, -2.0lf, -2.0lf, -2.0lf), dvec4(-3.0lf, -3.0lf, 3.0lf, 3.0lf), bvec4(true, false, true, false)) => dvec4(-3.0lf, -2.0lf, 3.0lf, -2.0lf)
 * mix(dvec4(2.0lf, 2.0lf, 2.0lf, 2.0lf), dvec4(-3.0lf, -3.0lf, 3.0lf, 3.0lf), bvec4(true, false, true, false)) => dvec4(-3.0lf, 2.0lf, 3.0lf, 2.0lf)
 */
#version 150
#extension GL_ARB_gpu_shader_fp64 : require

void main()
{
  double[distance(mix(dvec4(-2.0lf, -2.0lf, -2.0lf, -2.0lf), dvec4(-3.0lf, -3.0lf, 3.0lf, 3.0lf), bvec4(true, false, true, false)), dvec4(-3.0lf, -2.0lf, 3.0lf, -2.0lf)) <= 5.0990195135927854e-05lf ? 1 : -1] array0;
  double[distance(mix(dvec4(2.0lf, 2.0lf, 2.0lf, 2.0lf), dvec4(-3.0lf, -3.0lf, 3.0lf, 3.0lf), bvec4(true, false, true, false)), dvec4(-3.0lf, 2.0lf, 3.0lf, 2.0lf)) <= 5.0990195135927854e-05lf ? 1 : -1] array1;
  gl_Position = dvec4(array0.length() + array1.length());
}

Stderr
Failed to compile geometry shader /Users/vlee/workspace/piglit/generated_tests/spec/arb_gpu_shader_fp64/compiler/built-in-functions/mix-dvec4-dvec4-bvec4.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/arb_gpu_shader_fp64/compiler/built-in-functions/mix-dvec4-dvec4-bvec4.geom pass 1.50 GL_ARB_gpu_shader_fp64
dmesg

        

Back to summary