Results for spec/glsl-1.20/compiler/built-in-functions/log-float.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.229840040207
note
Returncode was 1
command
/Users/mks/Downloads/piglit/framework/../bin/glslparsertest tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/log-float.vert pass 1.20
errors
  • Failed to compile vertex shader tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/log-float.vert: ERROR: 0:18: Array size must be an integer constant expression
  • ERROR: 0:20: Use of undeclared identifier 'array2'
info
Returncode: 1

Errors:
Failed to compile vertex shader tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/log-float.vert: ERROR: 0:18: Array size must be an integer constant expression
ERROR: 0:20: Use of undeclared identifier 'array2'



Output:
Shader source:
/* [config]
 * expect_result: pass
 * glsl_version: 1.20
 * [end config]
 *
 * Check that the following test vectors are constant folded correctly:
 * log(0.0099999998) => -4.6051702
 * log(0.67333335) => -0.39551476
 * log(1.3366667) => 0.29017898
 * log(2.0) => 0.69314718
 */
#version 120

void main()
{
  float[distance(log(0.0099999998), -4.6051702) <= 4.6051704e-05 ? 1 : -1] array0;
  float[distance(log(0.67333335), -0.39551476) <= 3.9551473e-06 ? 1 : -1] array1;
  float[distance(log(1.3366667), 0.29017898) <= 2.9017899e-06 ? 1 : -1] array2;
  float[distance(log(2.0), 0.69314718) <= 6.9314719e-06 ? 1 : -1] array3;
  gl_Position = vec4(array0.length() + array1.length() + array2.length() + array3.length());
}

Back to summary