Results for spec@arb_gpu_shader_fp64@compiler@built-in-functions@normalize-dvec4.vert

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.145010
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:
 * normalize(dvec4(-1.6499999999999999lf, 1.3300000000000001lf, 1.9299999999999999lf, 0.76000000000000001lf)) => dvec4(-0.55640776583646234lf, 0.44849838094696665lf, 0.65082847761477114lf, 0.25628478911255237lf)
 * normalize(dvec4(0.80000000000000004lf, -0.14999999999999999lf, -0.51000000000000001lf, 0.0lf)) => dvec4(0.83288158866234518lf, -0.1561652978741897lf, -0.53096201277224497lf, 0.0lf)
 */
#version 150
#extension GL_ARB_gpu_shader_fp64 : require

void main()
{
  double[distance(normalize(dvec4(-1.6499999999999999lf, 1.3300000000000001lf, 1.9299999999999999lf, 0.76000000000000001lf)), dvec4(-0.55640776583646234lf, 0.44849838094696665lf, 0.65082847761477114lf, 0.25628478911255237lf)) <= 1.0000000000000001e-05lf ? 1 : -1] array0;
  double[distance(normalize(dvec4(0.80000000000000004lf, -0.14999999999999999lf, -0.51000000000000001lf, 0.0lf)), dvec4(0.83288158866234518lf, -0.1561652978741897lf, -0.53096201277224497lf, 0.0lf)) <= 1.0000000000000001e-05lf ? 1 : -1] array1;
  gl_Position = dvec4(array0.length() + array1.length());
}

Stderr
Failed to compile vertex shader /Users/vlee/workspace/piglit/generated_tests/spec/arb_gpu_shader_fp64/compiler/built-in-functions/normalize-dvec4.vert: ERROR: 0:18: 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/normalize-dvec4.vert pass 1.50 GL_ARB_gpu_shader_fp64
dmesg

        

Back to summary