Results for spec@glsl-4.00@compiler@built-in-functions@step-double-dvec4.vert

Overview

Result: fail

Back to summary

Details

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

void main()
{
  double[distance(step(-2.0lf, dvec4(-2.0lf, -0.66666666666666674lf, 0.66666666666666652lf, 2.0lf)), dvec4(1.0lf, 1.0lf, 1.0lf, 1.0lf)) <= 2.0000000000000002e-05lf ? 1 : -1] array0;
  double[distance(step(-0.66666666666666674lf, dvec4(-2.0lf, -0.66666666666666674lf, 0.66666666666666652lf, 2.0lf)), dvec4(0.0lf, 1.0lf, 1.0lf, 1.0lf)) <= 1.7320508075688774e-05lf ? 1 : -1] array1;
  double[distance(step(0.66666666666666652lf, dvec4(-2.0lf, -0.66666666666666674lf, 0.66666666666666652lf, 2.0lf)), dvec4(0.0lf, 0.0lf, 1.0lf, 1.0lf)) <= 1.4142135623730951e-05lf ? 1 : -1] array2;
  double[distance(step(2.0lf, dvec4(-2.0lf, -0.66666666666666674lf, 0.66666666666666652lf, 2.0lf)), dvec4(0.0lf, 0.0lf, 0.0lf, 1.0lf)) <= 1.0000000000000001e-05lf ? 1 : -1] array3;
  gl_Position = dvec4(array0.length() + array1.length() + array2.length() + array3.length());
}

Stderr
Failed to compile vertex shader /Users/vlee/workspace/piglit/generated_tests/spec/glsl-4.00/compiler/built-in-functions/step-double-dvec4.vert: ERROR: 0:20: 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/glsl-4.00/compiler/built-in-functions/step-double-dvec4.vert pass 4.00
dmesg

        

Back to summary