Results for spec@arb_gpu_shader_fp64@compiler@built-in-functions@smoothstep-double-double-dvec3.frag

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.136501
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:
 * smoothstep(-1.8999999999999999lf, -0.6333333333333333lf, dvec3(-2.0lf, -0.66666666666666674lf, 0.66666666666666652lf)) => dvec3(0.0lf, 0.99795888613500516lf, 1.0lf)
 * smoothstep(-1.8999999999999999lf, -0.6333333333333333lf, dvec3(2.0lf, -2.0lf, -0.66666666666666674lf)) => dvec3(1.0lf, 0.0lf, 0.99795888613500516lf)
 * smoothstep(-1.8999999999999999lf, 0.6333333333333333lf, dvec3(-2.0lf, -0.66666666666666674lf, 0.66666666666666652lf)) => dvec3(0.0lf, 0.48026771395247109lf, 1.0lf)
 * smoothstep(-1.8999999999999999lf, 0.6333333333333333lf, dvec3(2.0lf, -2.0lf, -0.66666666666666674lf)) => dvec3(1.0lf, 0.0lf, 0.48026771395247109lf)
 * smoothstep(-1.8999999999999999lf, 1.8999999999999999lf, dvec3(-2.0lf, -0.66666666666666674lf, 0.66666666666666652lf)) => dvec3(0.0lf, 0.24764164952239009lf, 0.75235835047760979lf)
 * smoothstep(-1.8999999999999999lf, 1.8999999999999999lf, dvec3(2.0lf, -2.0lf, -0.66666666666666674lf)) => dvec3(1.0lf, 0.0lf, 0.24764164952239009lf)
 * smoothstep(-0.6333333333333333lf, 0.6333333333333333lf, dvec3(-2.0lf, -0.66666666666666674lf, 0.66666666666666652lf)) => dvec3(0.0lf, 0.0lf, 1.0lf)
 * smoothstep(-0.6333333333333333lf, 0.6333333333333333lf, dvec3(2.0lf, -2.0lf, -0.66666666666666674lf)) => dvec3(1.0lf, 0.0lf, 0.0lf)
 * smoothstep(-0.6333333333333333lf, 1.8999999999999999lf, dvec3(-2.0lf, -0.66666666666666674lf, 0.66666666666666652lf)) => dvec3(0.0lf, 0.0lf, 0.51973228604752864lf)
 * smoothstep(-0.6333333333333333lf, 1.8999999999999999lf, dvec3(2.0lf, -2.0lf, -0.66666666666666674lf)) => dvec3(1.0lf, 0.0lf, 0.0lf)
 * smoothstep(0.6333333333333333lf, 1.8999999999999999lf, dvec3(-2.0lf, -0.66666666666666674lf, 0.66666666666666652lf)) => dvec3(0.0lf, 0.0lf, 0.0020411138649948832lf)
 * smoothstep(0.6333333333333333lf, 1.8999999999999999lf, dvec3(2.0lf, -2.0lf, -0.66666666666666674lf)) => dvec3(1.0lf, 0.0lf, 0.0lf)
 */
#version 150
#extension GL_ARB_gpu_shader_fp64 : require

void main()
{
  double[distance(smoothstep(-1.8999999999999999lf, -0.6333333333333333lf, dvec3(-2.0lf, -0.66666666666666674lf, 0.66666666666666652lf)), dvec3(0.0lf, 0.99795888613500516lf, 1.0lf)) <= 1.4127710141476646e-05lf ? 1 : -1] array0;
  double[distance(smoothstep(-1.8999999999999999lf, -0.6333333333333333lf, dvec3(2.0lf, -2.0lf, -0.66666666666666674lf)), dvec3(1.0lf, 0.0lf, 0.99795888613500516lf)) <= 1.4127710141476646e-05lf ? 1 : -1] array1;
  double[distance(smoothstep(-1.8999999999999999lf, 0.6333333333333333lf, dvec3(-2.0lf, -0.66666666666666674lf, 0.66666666666666652lf)), dvec3(0.0lf, 0.48026771395247109lf, 1.0lf)) <= 1.1093498443075262e-05lf ? 1 : -1] array2;
  double[distance(smoothstep(-1.8999999999999999lf, 0.6333333333333333lf, dvec3(2.0lf, -2.0lf, -0.66666666666666674lf)), dvec3(1.0lf, 0.0lf, 0.48026771395247109lf)) <= 1.1093498443075262e-05lf ? 1 : -1] array3;
  double[distance(smoothstep(-1.8999999999999999lf, 1.8999999999999999lf, dvec3(-2.0lf, -0.66666666666666674lf, 0.66666666666666652lf)), dvec3(0.0lf, 0.24764164952239009lf, 0.75235835047760979lf)) <= 7.9206658439272666e-06lf ? 1 : -1] array4;
  double[distance(smoothstep(-1.8999999999999999lf, 1.8999999999999999lf, dvec3(2.0lf, -2.0lf, -0.66666666666666674lf)), dvec3(1.0lf, 0.0lf, 0.24764164952239009lf)) <= 1.0302069629827643e-05lf ? 1 : -1] array5;
  double[distance(smoothstep(-0.6333333333333333lf, 0.6333333333333333lf, dvec3(-2.0lf, -0.66666666666666674lf, 0.66666666666666652lf)), dvec3(0.0lf, 0.0lf, 1.0lf)) <= 1.0000000000000001e-05lf ? 1 : -1] array6;
  double[distance(smoothstep(-0.6333333333333333lf, 0.6333333333333333lf, dvec3(2.0lf, -2.0lf, -0.66666666666666674lf)), dvec3(1.0lf, 0.0lf, 0.0lf)) <= 1.0000000000000001e-05lf ? 1 : -1] array7;
  double[distance(smoothstep(-0.6333333333333333lf, 1.8999999999999999lf, dvec3(-2.0lf, -0.66666666666666674lf, 0.66666666666666652lf)), dvec3(0.0lf, 0.0lf, 0.51973228604752864lf)) <= 5.1973228604752868e-06lf ? 1 : -1] array8;
  double[distance(smoothstep(-0.6333333333333333lf, 1.8999999999999999lf, dvec3(2.0lf, -2.0lf, -0.66666666666666674lf)), dvec3(1.0lf, 0.0lf, 0.0lf)) <= 1.0000000000000001e-05lf ? 1 : -1] array9;
  double[distance(smoothstep(0.6333333333333333lf, 1.8999999999999999lf, dvec3(-2.0lf, -0.66666666666666674lf, 0.66666666666666652lf)), dvec3(0.0lf, 0.0lf, 0.0020411138649948832lf)) <= 2.0411138649948833e-08lf ? 1 : -1] array10;
  double[distance(smoothstep(0.6333333333333333lf, 1.8999999999999999lf, dvec3(2.0lf, -2.0lf, -0.66666666666666674lf)), dvec3(1.0lf, 0.0lf, 0.0lf)) <= 1.0000000000000001e-05lf ? 1 : -1] array11;
  gl_FragColor = dvec4(array0.length() + array1.length() + array2.length() + array3.length() + array4.length() + array5.length() + array6.length() + array7.length() + array8.length() + array9.length() + array10.length() + array11.length());
}

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

        

Back to summary