Results for spec@arb_gpu_shader_fp64@compiler@built-in-functions@op-add-double-dvec2.frag

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.144226
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:
 * (0.0lf + dvec2(-0.10000000000000001lf, -1.2lf)) => dvec2(-0.10000000000000001lf, -1.2lf)
 * (0.0lf + dvec2(-0.41999999999999998lf, 0.47999999999999998lf)) => dvec2(-0.41999999999999998lf, 0.47999999999999998lf)
 * (-1.3333333333333333lf + dvec2(-0.10000000000000001lf, -1.2lf)) => dvec2(-1.4333333333333333lf, -2.5333333333333332lf)
 * (-1.3333333333333333lf + dvec2(-0.41999999999999998lf, 0.47999999999999998lf)) => dvec2(-1.7533333333333332lf, -0.85333333333333328lf)
 * (0.84999999999999998lf + dvec2(-0.10000000000000001lf, -1.2lf)) => dvec2(0.75lf, -0.34999999999999998lf)
 * (0.84999999999999998lf + dvec2(-0.41999999999999998lf, 0.47999999999999998lf)) => dvec2(0.42999999999999999lf, 1.3300000000000001lf)
 */
#version 150
#extension GL_ARB_gpu_shader_fp64 : require

void main()
{
  double[distance((0.0lf + dvec2(-0.10000000000000001lf, -1.2lf)), dvec2(-0.10000000000000001lf, -1.2lf)) <= 1.2041594578792297e-05lf ? 1 : -1] array0;
  double[distance((0.0lf + dvec2(-0.41999999999999998lf, 0.47999999999999998lf)), dvec2(-0.41999999999999998lf, 0.47999999999999998lf)) <= 6.3780874876407897e-06lf ? 1 : -1] array1;
  double[distance((-1.3333333333333333lf + dvec2(-0.10000000000000001lf, -1.2lf)), dvec2(-1.4333333333333333lf, -2.5333333333333332lf)) <= 2.9107081994288303e-05lf ? 1 : -1] array2;
  double[distance((-1.3333333333333333lf + dvec2(-0.41999999999999998lf, 0.47999999999999998lf)), dvec2(-1.7533333333333332lf, -0.85333333333333328lf)) <= 1.9499629626112275e-05lf ? 1 : -1] array3;
  double[distance((0.84999999999999998lf + dvec2(-0.10000000000000001lf, -1.2lf)), dvec2(0.75lf, -0.34999999999999998lf)) <= 8.2764726786234252e-06lf ? 1 : -1] array4;
  double[distance((0.84999999999999998lf + dvec2(-0.41999999999999998lf, 0.47999999999999998lf)), dvec2(0.42999999999999999lf, 1.3300000000000001lf)) <= 1.397783960417346e-05lf ? 1 : -1] array5;
  gl_FragColor = dvec4(array0.length() + array1.length() + array2.length() + array3.length() + array4.length() + array5.length());
}

Stderr
Failed to compile fragment shader /Users/vlee/workspace/piglit/generated_tests/spec/arb_gpu_shader_fp64/compiler/built-in-functions/op-add-double-dvec2.frag: ERROR: 0:26: 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/arb_gpu_shader_fp64/compiler/built-in-functions/op-add-double-dvec2.frag pass 1.50 GL_ARB_gpu_shader_fp64
dmesg

        

Back to summary