Results for spec@arb_gpu_shader_fp64@compiler@built-in-functions@mod-dvec4-double.geom

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.136132
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:
 * mod(dvec4(-1.8999999999999999lf, -0.6333333333333333lf, 0.6333333333333333lf, 1.8999999999999999lf), -2.0lf) => dvec4(-1.8999999999999999lf, -0.6333333333333333lf, -1.3666666666666667lf, -0.10000000000000009lf)
 * mod(dvec4(-1.8999999999999999lf, -0.6333333333333333lf, 0.6333333333333333lf, 1.8999999999999999lf), -0.66666666666666674lf) => dvec4(-0.56666666666666643lf, -0.6333333333333333lf, -0.033333333333333437lf, -0.10000000000000009lf)
 * mod(dvec4(-1.8999999999999999lf, -0.6333333333333333lf, 0.6333333333333333lf, 1.8999999999999999lf), 0.66666666666666652lf) => dvec4(0.099999999999999645lf, 0.033333333333333215lf, 0.6333333333333333lf, 0.56666666666666687lf)
 * mod(dvec4(-1.8999999999999999lf, -0.6333333333333333lf, 0.6333333333333333lf, 1.8999999999999999lf), 2.0lf) => dvec4(0.10000000000000009lf, 1.3666666666666667lf, 0.6333333333333333lf, 1.8999999999999999lf)
 */
#version 150
#extension GL_ARB_gpu_shader_fp64 : require

void main()
{
  double[distance(mod(dvec4(-1.8999999999999999lf, -0.6333333333333333lf, 0.6333333333333333lf, 1.8999999999999999lf), -2.0lf), dvec4(-1.8999999999999999lf, -0.6333333333333333lf, -1.3666666666666667lf, -0.10000000000000009lf)) <= 2.4267032964268396e-05lf ? 1 : -1] array0;
  double[distance(mod(dvec4(-1.8999999999999999lf, -0.6333333333333333lf, 0.6333333333333333lf, 1.8999999999999999lf), -0.66666666666666674lf), dvec4(-0.56666666666666643lf, -0.6333333333333333lf, -0.033333333333333437lf, -0.10000000000000009lf)) <= 8.5634883857767503e-06lf ? 1 : -1] array1;
  double[distance(mod(dvec4(-1.8999999999999999lf, -0.6333333333333333lf, 0.6333333333333333lf, 1.8999999999999999lf), 0.66666666666666652lf), dvec4(0.099999999999999645lf, 0.033333333333333215lf, 0.6333333333333333lf, 0.56666666666666687lf)) <= 8.5634883857767537e-06lf ? 1 : -1] array2;
  double[distance(mod(dvec4(-1.8999999999999999lf, -0.6333333333333333lf, 0.6333333333333333lf, 1.8999999999999999lf), 2.0lf), dvec4(0.10000000000000009lf, 1.3666666666666667lf, 0.6333333333333333lf, 1.8999999999999999lf)) <= 2.4267032964268396e-05lf ? 1 : -1] array3;
  gl_Position = dvec4(array0.length() + array1.length() + array2.length() + array3.length());
}

Stderr
Failed to compile geometry shader /Users/vlee/workspace/piglit/generated_tests/spec/arb_gpu_shader_fp64/compiler/built-in-functions/mod-dvec4-double.geom: ERROR: 0:22: 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/arb_gpu_shader_fp64/compiler/built-in-functions/mod-dvec4-double.geom pass 1.50 GL_ARB_gpu_shader_fp64
dmesg

        

Back to summary