Results for spec@glsl-4.00@compiler@built-in-functions@sqrt-dvec4.frag

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.147751
Stdout
Shader source:
/* [config]
 * expect_result: pass
 * glsl_version: 4.00
 * [end config]
 *
 * Check that the following test vectors are constantfolded correctly:
 * sqrt(dvec4(0.0lf, 0.66666666666666663lf, 1.3333333333333333lf, 2.0lf)) => dvec4(0.0lf, 0.81649658092772603lf, 1.1547005383792515lf, 1.4142135623730951lf)
 */
#version 400

void main()
{
  double[distance(sqrt(dvec4(0.0lf, 0.66666666666666663lf, 1.3333333333333333lf, 2.0lf)), dvec4(0.0lf, 0.81649658092772603lf, 1.1547005383792515lf, 1.4142135623730951lf)) <= 2.0000000000000002e-05lf ? 1 : -1] array0;
  gl_FragColor = dvec4(array0.length());
}

Stderr
Failed to compile fragment shader /Users/vlee/workspace/piglit/generated_tests/spec/glsl-4.00/compiler/built-in-functions/sqrt-dvec4.frag: ERROR: 0:14: 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/glsl-4.00/compiler/built-in-functions/sqrt-dvec4.frag pass 4.00
dmesg

        

Back to summary