Results for spec@arb_gpu_shader_fp64@compiler@built-in-functions@distance-double-double.vert

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.182886
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:
 * distance(0.0lf, 0.0lf) => 0.0lf
 * distance(0.0lf, -1.3333333333333333lf) => 1.3333333333333333lf
 * distance(0.0lf, 0.84999999999999998lf) => 0.84999999999999998lf
 * distance(-1.3333333333333333lf, 0.0lf) => 1.3333333333333333lf
 * distance(-1.3333333333333333lf, -1.3333333333333333lf) => 0.0lf
 * distance(-1.3333333333333333lf, 0.84999999999999998lf) => 2.1833333333333331lf
 * distance(0.84999999999999998lf, 0.0lf) => 0.84999999999999998lf
 * distance(0.84999999999999998lf, -1.3333333333333333lf) => 2.1833333333333331lf
 * distance(0.84999999999999998lf, 0.84999999999999998lf) => 0.0lf
 */
#version 150
#extension GL_ARB_gpu_shader_fp64 : require

void main()
{
  double[0.0 <= distance(0.0lf, 0.0lf) && distance(0.0lf, 0.0lf) <= 0.0 ? 1 : -1] array0;
  double[1.33332 <= distance(0.0lf, -1.3333333333333333lf) && distance(0.0lf, -1.3333333333333333lf) <= 1.33334666667 ? 1 : -1] array1;
  double[0.8499915 <= distance(0.0lf, 0.84999999999999998lf) && distance(0.0lf, 0.84999999999999998lf) <= 0.8500085 ? 1 : -1] array2;
  double[1.33332 <= distance(-1.3333333333333333lf, 0.0lf) && distance(-1.3333333333333333lf, 0.0lf) <= 1.33334666667 ? 1 : -1] array3;
  double[0.0 <= distance(-1.3333333333333333lf, -1.3333333333333333lf) && distance(-1.3333333333333333lf, -1.3333333333333333lf) <= 0.0 ? 1 : -1] array4;
  double[2.1833115 <= distance(-1.3333333333333333lf, 0.84999999999999998lf) && distance(-1.3333333333333333lf, 0.84999999999999998lf) <= 2.18335516667 ? 1 : -1] array5;
  double[0.8499915 <= distance(0.84999999999999998lf, 0.0lf) && distance(0.84999999999999998lf, 0.0lf) <= 0.8500085 ? 1 : -1] array6;
  double[2.1833115 <= distance(0.84999999999999998lf, -1.3333333333333333lf) && distance(0.84999999999999998lf, -1.3333333333333333lf) <= 2.18335516667 ? 1 : -1] array7;
  double[0.0 <= distance(0.84999999999999998lf, 0.84999999999999998lf) && distance(0.84999999999999998lf, 0.84999999999999998lf) <= 0.0 ? 1 : -1] array8;
  gl_Position = dvec4(array0.length() + array1.length() + array2.length() + array3.length() + array4.length() + array5.length() + array6.length() + array7.length() + array8.length());
}

Stderr
Failed to compile vertex shader /Users/vlee/workspace/piglit/generated_tests/spec/arb_gpu_shader_fp64/compiler/built-in-functions/distance-double-double.vert: ERROR: 0:32: 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/distance-double-double.vert pass 1.50 GL_ARB_gpu_shader_fp64
dmesg

        

Back to summary