Results for spec/glsl-1.30/compiler/built-in-functions/op-rshift-ivec2-uvec2.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 1.15392398834
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/../generated_tests/spec/glsl-1.30/compiler/built-in-functions/op-rshift-ivec2-uvec2.vert pass 1.30
errors
  • Failed to compile vertex shader tests/../generated_tests/spec/glsl-1.30/compiler/built-in-functions/op-rshift-ivec2-uvec2.vert: Vertex shader failed to compile with the following errors:
  • WARNING: 0:18: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:18: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:18: error(#202) No matching overloaded function found all
  • ERROR: 0:18: error(#179) Boolean expression expected
  • ERROR: 0:18: error(#186) Array size must be a positive integer
  • WARNING: 0:19: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:19: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:19: error(#202) No matching overloaded function found all
  • ERROR: 0:19: error(#179) Boolean expression expected
  • ERROR: 0:19: error(#186) Array size must be a positive integer
  • WARNING: 0:20: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:20: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:20: error(#202) No matching overloaded function found all
  • ERROR: 0:20: error(#179) Boolean expression expected
  • ERROR: 0:20: error(#186) Array size must be a positive integer
  • WARNING: 0:21: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:21: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:21: error(#202) No matching overloaded function found all
  • ERROR: 0:21: error(#179) Boolean expression expected
  • ERROR: 0:21: error(#186) Array size must be a positive integer
  • WARNING: 0:22: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:22: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:22: error(#202) No matching overloaded function found all
  • ERROR: 0:22: error(#179) Boolean expression expected
  • ERROR: 0:22: error(#186) Array size must be a positive integer
  • WARNING: 0:23: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:23: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:23: error(#202) No matching overloaded function found all
  • ERROR: 0:23: error(#179) Boolean expression expected
  • ERROR: 0:23: error(#186) Array size must be a positive integer
  • ERROR: error(#273) 24 compilation errors.  No code generated
info
Returncode: 1

Errors:
Failed to compile vertex shader tests/../generated_tests/spec/glsl-1.30/compiler/built-in-functions/op-rshift-ivec2-uvec2.vert: Vertex shader failed to compile with the following errors:
WARNING: 0:18: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:18: error(#203) More than one matching overloaded function are found equal
ERROR: 0:18: error(#202) No matching overloaded function found all
ERROR: 0:18: error(#179) Boolean expression expected
ERROR: 0:18: error(#186) Array size must be a positive integer
WARNING: 0:19: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:19: error(#203) More than one matching overloaded function are found equal
ERROR: 0:19: error(#202) No matching overloaded function found all
ERROR: 0:19: error(#179) Boolean expression expected
ERROR: 0:19: error(#186) Array size must be a positive integer
WARNING: 0:20: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:20: error(#203) More than one matching overloaded function are found equal
ERROR: 0:20: error(#202) No matching overloaded function found all
ERROR: 0:20: error(#179) Boolean expression expected
ERROR: 0:20: error(#186) Array size must be a positive integer
WARNING: 0:21: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:21: error(#203) More than one matching overloaded function are found equal
ERROR: 0:21: error(#202) No matching overloaded function found all
ERROR: 0:21: error(#179) Boolean expression expected
ERROR: 0:21: error(#186) Array size must be a positive integer
WARNING: 0:22: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:22: error(#203) More than one matching overloaded function are found equal
ERROR: 0:22: error(#202) No matching overloaded function found all
ERROR: 0:22: error(#179) Boolean expression expected
ERROR: 0:22: error(#186) Array size must be a positive integer
WARNING: 0:23: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:23: error(#203) More than one matching overloaded function are found equal
ERROR: 0:23: error(#202) No matching overloaded function found all
ERROR: 0:23: error(#179) Boolean expression expected
ERROR: 0:23: error(#186) Array size must be a positive integer
ERROR: error(#273) 24 compilation errors.  No code generated



Output:
Shader source:
/* [config]
 * expect_result: pass
 * glsl_version: 1.30
 * [end config]
 *
 * Check that the following test vectors are constant folded correctly:
 * (ivec2(13, 26) >> uvec2(13u, 26u)) => ivec2(0, 0)
 * (ivec2(13, 26) >> uvec2(2u, 26u)) => ivec2(3, 0)
 * (ivec2(-2, 26) >> uvec2(13u, 26u)) => ivec2(-1, 0)
 * (ivec2(-2, 26) >> uvec2(2u, 26u)) => ivec2(-1, 0)
 * (ivec2(2, 26) >> uvec2(13u, 26u)) => ivec2(0, 0)
 * (ivec2(2, 26) >> uvec2(2u, 26u)) => ivec2(0, 0)
 */
#version 130

void main()
{
  float[all(equal((ivec2(13, 26) >> uvec2(13u, 26u)), ivec2(0, 0))) ? 1 : -1] array0;
  float[all(equal((ivec2(13, 26) >> uvec2(2u, 26u)), ivec2(3, 0))) ? 1 : -1] array1;
  float[all(equal((ivec2(-2, 26) >> uvec2(13u, 26u)), ivec2(-1, 0))) ? 1 : -1] array2;
  float[all(equal((ivec2(-2, 26) >> uvec2(2u, 26u)), ivec2(-1, 0))) ? 1 : -1] array3;
  float[all(equal((ivec2(2, 26) >> uvec2(13u, 26u)), ivec2(0, 0))) ? 1 : -1] array4;
  float[all(equal((ivec2(2, 26) >> uvec2(2u, 26u)), ivec2(0, 0))) ? 1 : -1] array5;
  gl_Position = vec4(array0.length() + array1.length() + array2.length() + array3.length() + array4.length() + array5.length());
}

Back to summary