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

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 1.09248995781
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-uint.vert pass 1.30
errors
  • Failed to compile vertex shader tests/../generated_tests/spec/glsl-1.30/compiler/built-in-functions/op-rshift-ivec2-uint.vert: Vertex shader failed to compile with the following errors:
  • WARNING: 0:30: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:30: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:30: error(#202) No matching overloaded function found all
  • ERROR: 0:30: error(#179) Boolean expression expected
  • ERROR: 0:30: error(#186) Array size must be a positive integer
  • WARNING: 0:31: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:31: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:31: error(#202) No matching overloaded function found all
  • ERROR: 0:31: error(#179) Boolean expression expected
  • ERROR: 0:31: error(#186) Array size must be a positive integer
  • WARNING: 0:32: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:32: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:32: error(#202) No matching overloaded function found all
  • ERROR: 0:32: error(#179) Boolean expression expected
  • ERROR: 0:32: error(#186) Array size must be a positive integer
  • WARNING: 0:33: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:33: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:33: error(#202) No matching overloaded function found all
  • ERROR: 0:33: error(#179) Boolean expression expected
  • ERROR: 0:33: error(#186) Array size must be a positive integer
  • WARNING: 0:34: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:34: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:34: error(#202) No matching overloaded function found all
  • ERROR: 0:34: error(#179) Boolean expression expected
  • ERROR: 0:34: error(#186) Array size must be a positive integer
  • WARNING: 0:35: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:35: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:35: error(#202) No matching overloaded function found all
  • ERROR: 0:35: error(#179) Boolean expression expected
  • ERROR: 0:35: error(#186) Array size must be a positive integer
  • WARNING: 0:36: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:36: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:36: error(#202) No matching overloaded function found all
  • ERROR: 0:36: error(#179) Boolean expression expected
  • ERROR: 0:36: error(#186) Array size must be a positive integer
  • WARNING: 0:37: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:37: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:37: error(#202) No matching overloaded function found all
  • ERROR: 0:37: error(#179) Boolean expression expected
  • ERROR: 0:37: error(#186) Array size must be a positive integer
  • WARNING: 0:38: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:38: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:38: error(#202) No matching overloaded function found all
  • ERROR: 0:38: error(#179) Boolean expression expected
  • ERROR: 0:38: error(#186) Array size must be a positive integer
  • WARNING: 0:39: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:39: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:39: error(#202) No matching overloaded function found all
  • ERROR: 0:39: error(#179) Boolean expression expected
  • ERROR: 0:39: error(#186) Array size must be a positive integer
  • WARNING: 0:40: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:40: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:40: error(#202) No matching overloaded function found all
  • ERROR: 0:40: error(#179) Boolean expression expected
  • ERROR: 0:40: error(#186) Array size must be a positive integer
  • WARNING: 0:41: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:41: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:41: error(#202) No matching overloaded function found all
  • ERROR: 0:41: error(#179) Boolean expression expected
  • ERROR: 0:41: error(#186) Array size must be a positive integer
  • WARNING: 0:42: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:42: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:42: error(#202) No matching overloaded function found all
  • ERROR: 0:42: error(#179) Boolean expression expected
  • ERROR: 0:42: error(#186) Array size must be a positive integer
  • WARNING: 0:43: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:43: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:43: error(#202) No matching overloaded function found all
  • ERROR: 0:43: error(#179) Boolean expression expected
  • ERROR: 0:43: error(#186) Array size must be a positive integer
  • WARNING: 0:44: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:44: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:44: error(#202) No matching overloaded function found all
  • ERROR: 0:44: error(#179) Boolean expression expected
  • ERROR: 0:44: error(#186) Array size must be a positive integer
  • WARNING: 0:45: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:45: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:45: error(#202) No matching overloaded function found all
  • ERROR: 0:45: error(#179) Boolean expression expected
  • ERROR: 0:45: error(#186) Array size must be a positive integer
  • WARNING: 0:46: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:46: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:46: error(#202) No matching overloaded function found all
  • ERROR: 0:46: error(#179) Boolean expression expected
  • ERROR: 0:46: error(#186) Array size must be a positive integer
  • WARNING: 0:47: warning(#283) Implicit cast from ivec2 to uvec2
  • ERROR: 0:47: error(#203) More than one matching overloaded function are found equal
  • ERROR: 0:47: error(#202) No matching overloaded function found all
  • ERROR: 0:47: error(#179) Boolean expression expected
  • ERROR: 0:47: error(#186) Array size must be a positive integer
  • ERROR: error(#273) 72 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-uint.vert: Vertex shader failed to compile with the following errors:
WARNING: 0:30: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:30: error(#203) More than one matching overloaded function are found equal
ERROR: 0:30: error(#202) No matching overloaded function found all
ERROR: 0:30: error(#179) Boolean expression expected
ERROR: 0:30: error(#186) Array size must be a positive integer
WARNING: 0:31: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:31: error(#203) More than one matching overloaded function are found equal
ERROR: 0:31: error(#202) No matching overloaded function found all
ERROR: 0:31: error(#179) Boolean expression expected
ERROR: 0:31: error(#186) Array size must be a positive integer
WARNING: 0:32: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:32: error(#203) More than one matching overloaded function are found equal
ERROR: 0:32: error(#202) No matching overloaded function found all
ERROR: 0:32: error(#179) Boolean expression expected
ERROR: 0:32: error(#186) Array size must be a positive integer
WARNING: 0:33: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:33: error(#203) More than one matching overloaded function are found equal
ERROR: 0:33: error(#202) No matching overloaded function found all
ERROR: 0:33: error(#179) Boolean expression expected
ERROR: 0:33: error(#186) Array size must be a positive integer
WARNING: 0:34: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:34: error(#203) More than one matching overloaded function are found equal
ERROR: 0:34: error(#202) No matching overloaded function found all
ERROR: 0:34: error(#179) Boolean expression expected
ERROR: 0:34: error(#186) Array size must be a positive integer
WARNING: 0:35: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:35: error(#203) More than one matching overloaded function are found equal
ERROR: 0:35: error(#202) No matching overloaded function found all
ERROR: 0:35: error(#179) Boolean expression expected
ERROR: 0:35: error(#186) Array size must be a positive integer
WARNING: 0:36: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:36: error(#203) More than one matching overloaded function are found equal
ERROR: 0:36: error(#202) No matching overloaded function found all
ERROR: 0:36: error(#179) Boolean expression expected
ERROR: 0:36: error(#186) Array size must be a positive integer
WARNING: 0:37: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:37: error(#203) More than one matching overloaded function are found equal
ERROR: 0:37: error(#202) No matching overloaded function found all
ERROR: 0:37: error(#179) Boolean expression expected
ERROR: 0:37: error(#186) Array size must be a positive integer
WARNING: 0:38: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:38: error(#203) More than one matching overloaded function are found equal
ERROR: 0:38: error(#202) No matching overloaded function found all
ERROR: 0:38: error(#179) Boolean expression expected
ERROR: 0:38: error(#186) Array size must be a positive integer
WARNING: 0:39: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:39: error(#203) More than one matching overloaded function are found equal
ERROR: 0:39: error(#202) No matching overloaded function found all
ERROR: 0:39: error(#179) Boolean expression expected
ERROR: 0:39: error(#186) Array size must be a positive integer
WARNING: 0:40: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:40: error(#203) More than one matching overloaded function are found equal
ERROR: 0:40: error(#202) No matching overloaded function found all
ERROR: 0:40: error(#179) Boolean expression expected
ERROR: 0:40: error(#186) Array size must be a positive integer
WARNING: 0:41: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:41: error(#203) More than one matching overloaded function are found equal
ERROR: 0:41: error(#202) No matching overloaded function found all
ERROR: 0:41: error(#179) Boolean expression expected
ERROR: 0:41: error(#186) Array size must be a positive integer
WARNING: 0:42: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:42: error(#203) More than one matching overloaded function are found equal
ERROR: 0:42: error(#202) No matching overloaded function found all
ERROR: 0:42: error(#179) Boolean expression expected
ERROR: 0:42: error(#186) Array size must be a positive integer
WARNING: 0:43: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:43: error(#203) More than one matching overloaded function are found equal
ERROR: 0:43: error(#202) No matching overloaded function found all
ERROR: 0:43: error(#179) Boolean expression expected
ERROR: 0:43: error(#186) Array size must be a positive integer
WARNING: 0:44: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:44: error(#203) More than one matching overloaded function are found equal
ERROR: 0:44: error(#202) No matching overloaded function found all
ERROR: 0:44: error(#179) Boolean expression expected
ERROR: 0:44: error(#186) Array size must be a positive integer
WARNING: 0:45: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:45: error(#203) More than one matching overloaded function are found equal
ERROR: 0:45: error(#202) No matching overloaded function found all
ERROR: 0:45: error(#179) Boolean expression expected
ERROR: 0:45: error(#186) Array size must be a positive integer
WARNING: 0:46: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:46: error(#203) More than one matching overloaded function are found equal
ERROR: 0:46: error(#202) No matching overloaded function found all
ERROR: 0:46: error(#179) Boolean expression expected
ERROR: 0:46: error(#186) Array size must be a positive integer
WARNING: 0:47: warning(#283) Implicit cast from ivec2 to uvec2
ERROR: 0:47: error(#203) More than one matching overloaded function are found equal
ERROR: 0:47: error(#202) No matching overloaded function found all
ERROR: 0:47: error(#179) Boolean expression expected
ERROR: 0:47: error(#186) Array size must be a positive integer
ERROR: error(#273) 72 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) >> 0u) => ivec2(13, 26)
 * (ivec2(13, 26) >> 1u) => ivec2(6, 13)
 * (ivec2(13, 26) >> 2u) => ivec2(3, 6)
 * (ivec2(13, 26) >> 5u) => ivec2(0, 0)
 * (ivec2(13, 26) >> 25u) => ivec2(0, 0)
 * (ivec2(13, 26) >> 31u) => ivec2(0, 0)
 * (ivec2(-2, 26) >> 0u) => ivec2(-2, 26)
 * (ivec2(-2, 26) >> 1u) => ivec2(-1, 13)
 * (ivec2(-2, 26) >> 2u) => ivec2(-1, 6)
 * (ivec2(-2, 26) >> 5u) => ivec2(-1, 0)
 * (ivec2(-2, 26) >> 25u) => ivec2(-1, 0)
 * (ivec2(-2, 26) >> 31u) => ivec2(-1, 0)
 * (ivec2(2, 26) >> 0u) => ivec2(2, 26)
 * (ivec2(2, 26) >> 1u) => ivec2(1, 13)
 * (ivec2(2, 26) >> 2u) => ivec2(0, 6)
 * (ivec2(2, 26) >> 5u) => ivec2(0, 0)
 * (ivec2(2, 26) >> 25u) => ivec2(0, 0)
 * (ivec2(2, 26) >> 31u) => ivec2(0, 0)
 */
#version 130

void main()
{
  float[all(equal((ivec2(13, 26) >> 0u), ivec2(13, 26))) ? 1 : -1] array0;
  float[all(equal((ivec2(13, 26) >> 1u), ivec2(6, 13))) ? 1 : -1] array1;
  float[all(equal((ivec2(13, 26) >> 2u), ivec2(3, 6))) ? 1 : -1] array2;
  float[all(equal((ivec2(13, 26) >> 5u), ivec2(0, 0))) ? 1 : -1] array3;
  float[all(equal((ivec2(13, 26) >> 25u), ivec2(0, 0))) ? 1 : -1] array4;
  float[all(equal((ivec2(13, 26) >> 31u), ivec2(0, 0))) ? 1 : -1] array5;
  float[all(equal((ivec2(-2, 26) >> 0u), ivec2(-2, 26))) ? 1 : -1] array6;
  float[all(equal((ivec2(-2, 26) >> 1u), ivec2(-1, 13))) ? 1 : -1] array7;
  float[all(equal((ivec2(-2, 26) >> 2u), ivec2(-1, 6))) ? 1 : -1] array8;
  float[all(equal((ivec2(-2, 26) >> 5u), ivec2(-1, 0))) ? 1 : -1] array9;
  float[all(equal((ivec2(-2, 26) >> 25u), ivec2(-1, 0))) ? 1 : -1] array10;
  float[all(equal((ivec2(-2, 26) >> 31u), ivec2(-1, 0))) ? 1 : -1] array11;
  float[all(equal((ivec2(2, 26) >> 0u), ivec2(2, 26))) ? 1 : -1] array12;
  float[all(equal((ivec2(2, 26) >> 1u), ivec2(1, 13))) ? 1 : -1] array13;
  float[all(equal((ivec2(2, 26) >> 2u), ivec2(0, 6))) ? 1 : -1] array14;
  float[all(equal((ivec2(2, 26) >> 5u), ivec2(0, 0))) ? 1 : -1] array15;
  float[all(equal((ivec2(2, 26) >> 25u), ivec2(0, 0))) ? 1 : -1] array16;
  float[all(equal((ivec2(2, 26) >> 31u), ivec2(0, 0))) ? 1 : -1] array17;
  gl_Position = vec4(array0.length() + array1.length() + array2.length() + array3.length() + array4.length() + array5.length() + array6.length() + array7.length() + array8.length() + array9.length() + array10.length() + array11.length() + array12.length() + array13.length() + array14.length() + array15.length() + array16.length() + array17.length());
}

Back to summary