Results for spec@glsl-4.00@compiler@built-in-functions@refract-double-double-double.geom

Overview

Result: fail

Back to summary

Details

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

void main()
{
  double[distance(refract(-1.0lf, -1.0lf, 0.5lf), 1.0lf) <= 1.0000000000000001e-05lf ? 1 : -1] array0;
  double[distance(refract(-1.0lf, -1.0lf, 2.0lf), 1.0lf) <= 1.0000000000000001e-05lf ? 1 : -1] array1;
  double[distance(refract(-1.0lf, 1.0lf, 0.5lf), -1.0lf) <= 1.0000000000000001e-05lf ? 1 : -1] array2;
  double[distance(refract(-1.0lf, 1.0lf, 2.0lf), -1.0lf) <= 1.0000000000000001e-05lf ? 1 : -1] array3;
  double[distance(refract(1.0lf, -1.0lf, 0.5lf), 1.0lf) <= 1.0000000000000001e-05lf ? 1 : -1] array4;
  double[distance(refract(1.0lf, -1.0lf, 2.0lf), 1.0lf) <= 1.0000000000000001e-05lf ? 1 : -1] array5;
  double[distance(refract(1.0lf, 1.0lf, 0.5lf), -1.0lf) <= 1.0000000000000001e-05lf ? 1 : -1] array6;
  double[distance(refract(1.0lf, 1.0lf, 2.0lf), -1.0lf) <= 1.0000000000000001e-05lf ? 1 : -1] array7;
  gl_Position = dvec4(array0.length() + array1.length() + array2.length() + array3.length() + array4.length() + array5.length() + array6.length() + array7.length());
}

Stderr
Failed to compile geometry shader /Users/vlee/workspace/piglit/generated_tests/spec/glsl-4.00/compiler/built-in-functions/refract-double-double-double.geom: ERROR: 0:28: 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/refract-double-double-double.geom pass 4.00
dmesg

        

Back to summary