Results for spec/glsl-1.30/compiler/built-in-functions/op-lshift-ivec2-uint.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 1.10976600647
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/../generated_tests/spec/glsl-1.30/compiler/built-in-functions/op-lshift-ivec2-uint.frag pass 1.30
errors
  • Failed to compile fragment shader tests/../generated_tests/spec/glsl-1.30/compiler/built-in-functions/op-lshift-ivec2-uint.frag: Fragment 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(#88) Syntax error ERROR___INTEGER_CONST_OVERFLOW
  • 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) 73 compilation errors.  No code generated
info
Returncode: 1

Errors:
Failed to compile fragment shader tests/../generated_tests/spec/glsl-1.30/compiler/built-in-functions/op-lshift-ivec2-uint.frag: Fragment 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(#88) Syntax error ERROR___INTEGER_CONST_OVERFLOW
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) 73 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(26, 52)
 * (ivec2(13, 26) << 2u) => ivec2(52, 104)
 * (ivec2(13, 26) << 5u) => ivec2(416, 832)
 * (ivec2(13, 26) << 25u) => ivec2(436207616, 872415232)
 * (ivec2(13, 26) << 31u) => ivec2(-2147483648, 0)
 * (ivec2(-2, 26) << 0u) => ivec2(-2, 26)
 * (ivec2(-2, 26) << 1u) => ivec2(-4, 52)
 * (ivec2(-2, 26) << 2u) => ivec2(-8, 104)
 * (ivec2(-2, 26) << 5u) => ivec2(-64, 832)
 * (ivec2(-2, 26) << 25u) => ivec2(-67108864, 872415232)
 * (ivec2(-2, 26) << 31u) => ivec2(0, 0)
 * (ivec2(2, 26) << 0u) => ivec2(2, 26)
 * (ivec2(2, 26) << 1u) => ivec2(4, 52)
 * (ivec2(2, 26) << 2u) => ivec2(8, 104)
 * (ivec2(2, 26) << 5u) => ivec2(64, 832)
 * (ivec2(2, 26) << 25u) => ivec2(67108864, 872415232)
 * (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(26, 52))) ? 1 : -1] array1;
  float[all(equal((ivec2(13, 26) << 2u), ivec2(52, 104))) ? 1 : -1] array2;
  float[all(equal((ivec2(13, 26) << 5u), ivec2(416, 832))) ? 1 : -1] array3;
  float[all(equal((ivec2(13, 26) << 25u), ivec2(436207616, 872415232))) ? 1 : -1] array4;
  float[all(equal((ivec2(13, 26) << 31u), ivec2(-2147483648, 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(-4, 52))) ? 1 : -1] array7;
  float[all(equal((ivec2(-2, 26) << 2u), ivec2(-8, 104))) ? 1 : -1] array8;
  float[all(equal((ivec2(-2, 26) << 5u), ivec2(-64, 832))) ? 1 : -1] array9;
  float[all(equal((ivec2(-2, 26) << 25u), ivec2(-67108864, 872415232))) ? 1 : -1] array10;
  float[all(equal((ivec2(-2, 26) << 31u), ivec2(0, 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(4, 52))) ? 1 : -1] array13;
  float[all(equal((ivec2(2, 26) << 2u), ivec2(8, 104))) ? 1 : -1] array14;
  float[all(equal((ivec2(2, 26) << 5u), ivec2(64, 832))) ? 1 : -1] array15;
  float[all(equal((ivec2(2, 26) << 25u), ivec2(67108864, 872415232))) ? 1 : -1] array16;
  float[all(equal((ivec2(2, 26) << 31u), ivec2(0, 0))) ? 1 : -1] array17;
  gl_FragColor = 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