Results for spec@glsl-4.00@compiler@built-in-functions@floor-dvec2.frag

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.148586
Stdout
Shader source:
/* [config]
 * expect_result: pass
 * glsl_version: 4.00
 * [end config]
 *
 * Check that the following test vectors are constantfolded correctly:
 * floor(dvec2(-2.0lf, -0.66666666666666674lf)) => dvec2(-2.0lf, -1.0lf)
 * floor(dvec2(0.66666666666666652lf, 2.0lf)) => dvec2(0.0lf, 2.0lf)
 */
#version 400

void main()
{
  double[distance(floor(dvec2(-2.0lf, -0.66666666666666674lf)), dvec2(-2.0lf, -1.0lf)) <= 2.2360679774997901e-05lf ? 1 : -1] array0;
  double[distance(floor(dvec2(0.66666666666666652lf, 2.0lf)), dvec2(0.0lf, 2.0lf)) <= 2.0000000000000002e-05lf ? 1 : -1] array1;
  gl_FragColor = dvec4(array0.length() + array1.length());
}

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

        

Back to summary