Results for spec/glsl-1.30/compiler/built-in-functions/op-lshift-int-uint.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.284292936325
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-int-uint.vert pass 1.30
errors
  • Failed to compile vertex shader tests/../generated_tests/spec/glsl-1.30/compiler/built-in-functions/op-lshift-int-uint.vert: 0(78) : error C7011: implicit cast from "int" to "uint"
  • 0(79) : error C7011: implicit cast from "int" to "uint"
  • 0(80) : error C7011: implicit cast from "int" to "uint"
  • 0(81) : error C7011: implicit cast from "int" to "uint"
  • 0(82) : error C7011: implicit cast from "int" to "uint"
  • 0(83) : error C7011: implicit cast from "int" to "uint"
  • 0(83) : error C7011: implicit cast from "int" to "uint"
  • 0(84) : error C7011: implicit cast from "int" to "uint"
  • 0(85) : error C7011: implicit cast from "int" to "uint"
  • 0(86) : error C7011: implicit cast from "int" to "uint"
  • 0(87) : error C7011: implicit cast from "int" to "uint"
  • 0(88) : error C7011: implicit cast from "int" to "uint"
  • 0(89) : error C7011: implicit cast from "int" to "uint"
  • 0(89) : error C7011: implicit cast from "int" to "uint"
  • 0(90) : error C7011: implicit cast from "int" to "uint"
  • 0(91) : error C7011: implicit cast from "int" to "uint"
  • 0(92) : error C7011: implicit cast from "int" to "uint"
  • 0(93) : error C7011: implicit cast from "int" to "uint"
  • 0(94) : error C7011: implicit cast from "int" to "uint"
  • 0(95) : error C7011: implicit cast from "int" to "uint"
  • 0(95) : error C7011: implicit cast from "int" to "uint"
  • 0(96) : error C7011: implicit cast from "int" to "uint"
  • 0(97) : error C7011: implicit cast from "int" to "uint"
  • 0(98) : error C7011: implicit cast from "int" to "uint"
  • 0(99) : error C7011: implicit cast from "int" to "uint"
  • 0(100) : error C7011: implicit cast from "int" to "uint"
  • 0(101) : error C7011: implicit cast from "int" to "uint"
  • 0(102) : error C7011: implicit cast from "int" to "uint"
  • 0(103) : error C7011: implicit cast from "int" to "uint"
  • 0(104) : error C7011: implicit cast from "int" to "uint"
  • 0(105) : error C7011: implicit cast from "int" to "uint"
  • 0(106) : error C7011: implicit cast from "int" to "uint"
  • 0(107) : error C7011: implicit cast from "int" to "uint"
  • 0(107) : error C7011: implicit cast from "int" to "uint"
  • 0(108) : error C7011: implicit cast from "int" to "uint"
  • 0(109) : error C7011: implicit cast from "int" to "uint"
  • 0(110) : error C7011: implicit cast from "int" to "uint"
  • 0(111) : error C7011: implicit cast from "int" to "uint"
  • 0(112) : error C7011: implicit cast from "int" to "uint"
  • 0(113) : error C7011: implicit cast from "int" to "uint"
  • 0(114) : error C7011: implicit cast from "int" to "uint"
  • 0(115) : error C7011: implicit cast from "int" to "uint"
  • 0(116) : error C7011: implicit cast from "int" to "uint"
  • 0(117) : error C7011: implicit cast from "int" to "uint"
  • 0(118) : error C7011: implicit cast from "int" to "uint"
  • 0(119) : error C7011: implicit cast from "int" to "uint"
  • 0(119) : error C7011: implicit cast from "int" to "uint"
  • 0(120) : error C7011: implicit cast from "int" to "uint"
  • 0(121) : error C7011: implicit cast from "int" to "uint"
  • 0(122) : error C7011: implicit cast from "int" to "uint"
  • 0(123) : error C7011: implicit cast from "int" to "uint"
  • 0(124) : error C7011: implicit cast from "int" to "uint"
  • 0(125) : error C7011: implicit cast from "int" to "uint"
  • 0(126) : error C7011: implicit cast from "int" to "uint"
  • 0(127) : error C7011: implicit cast from "int" to "uint"
  • 0(128) : error C7011: implicit cast from "int" to "uint"
  • 0(129) : error C7011: implicit cast from "int" to "uint"
  • 0(130) : error C7011: implicit cast from "int" to "uint"
  • 0(131) : error C7011: implicit cast from "int" to "uint"
  • 0(131) : error C7011: implicit cast from "int" to "uint"
  • 0(132) : error C7011: implicit cast from "int" to "uint"
  • 0(133) : error C7011: implicit cast from "int" to "uint"
  • 0(134) : error C7011: implicit cast from "int" to "uint"
  • 0(135) : error C7011: implicit cast from "int" to "uint"
  • 0(136) : error C7011: implicit cast from "int" to "uint"
  • 0(137) : error C7011: implicit cast from "int" to "uint"
  • 0(137) : error C7011: implicit cast from "int" to "uint"
  • 0(138) : error C7011: implicit cast from "int" to "uint"
  • 0(139) : error C7011: implicit cast from "int" to "uint"
  • 0(140) : error C7011: implicit cast from "int" to "uint"
  • 0(141) : error C7011: implicit cast from "int" to "uint"
  • 0(142) : error C7011: implicit cast from "int" to "uint"
  • 0(143) : error C7011: implicit cast from "int" to "uint"
  • 0(143) : error C7011: implicit cast from "int" to "uint"
info
Returncode: 1

Errors:
Failed to compile vertex shader tests/../generated_tests/spec/glsl-1.30/compiler/built-in-functions/op-lshift-int-uint.vert: 0(78) : error C7011: implicit cast from "int" to "uint"
0(79) : error C7011: implicit cast from "int" to "uint"
0(80) : error C7011: implicit cast from "int" to "uint"
0(81) : error C7011: implicit cast from "int" to "uint"
0(82) : error C7011: implicit cast from "int" to "uint"
0(83) : error C7011: implicit cast from "int" to "uint"
0(83) : error C7011: implicit cast from "int" to "uint"
0(84) : error C7011: implicit cast from "int" to "uint"
0(85) : error C7011: implicit cast from "int" to "uint"
0(86) : error C7011: implicit cast from "int" to "uint"
0(87) : error C7011: implicit cast from "int" to "uint"
0(88) : error C7011: implicit cast from "int" to "uint"
0(89) : error C7011: implicit cast from "int" to "uint"
0(89) : error C7011: implicit cast from "int" to "uint"
0(90) : error C7011: implicit cast from "int" to "uint"
0(91) : error C7011: implicit cast from "int" to "uint"
0(92) : error C7011: implicit cast from "int" to "uint"
0(93) : error C7011: implicit cast from "int" to "uint"
0(94) : error C7011: implicit cast from "int" to "uint"
0(95) : error C7011: implicit cast from "int" to "uint"
0(95) : error C7011: implicit cast from "int" to "uint"
0(96) : error C7011: implicit cast from "int" to "uint"
0(97) : error C7011: implicit cast from "int" to "uint"
0(98) : error C7011: implicit cast from "int" to "uint"
0(99) : error C7011: implicit cast from "int" to "uint"
0(100) : error C7011: implicit cast from "int" to "uint"
0(101) : error C7011: implicit cast from "int" to "uint"
0(102) : error C7011: implicit cast from "int" to "uint"
0(103) : error C7011: implicit cast from "int" to "uint"
0(104) : error C7011: implicit cast from "int" to "uint"
0(105) : error C7011: implicit cast from "int" to "uint"
0(106) : error C7011: implicit cast from "int" to "uint"
0(107) : error C7011: implicit cast from "int" to "uint"
0(107) : error C7011: implicit cast from "int" to "uint"
0(108) : error C7011: implicit cast from "int" to "uint"
0(109) : error C7011: implicit cast from "int" to "uint"
0(110) : error C7011: implicit cast from "int" to "uint"
0(111) : error C7011: implicit cast from "int" to "uint"
0(112) : error C7011: implicit cast from "int" to "uint"
0(113) : error C7011: implicit cast from "int" to "uint"
0(114) : error C7011: implicit cast from "int" to "uint"
0(115) : error C7011: implicit cast from "int" to "uint"
0(116) : error C7011: implicit cast from "int" to "uint"
0(117) : error C7011: implicit cast from "int" to "uint"
0(118) : error C7011: implicit cast from "int" to "uint"
0(119) : error C7011: implicit cast from "int" to "uint"
0(119) : error C7011: implicit cast from "int" to "uint"
0(120) : error C7011: implicit cast from "int" to "uint"
0(121) : error C7011: implicit cast from "int" to "uint"
0(122) : error C7011: implicit cast from "int" to "uint"
0(123) : error C7011: implicit cast from "int" to "uint"
0(124) : error C7011: implicit cast from "int" to "uint"
0(125) : error C7011: implicit cast from "int" to "uint"
0(126) : error C7011: implicit cast from "int" to "uint"
0(127) : error C7011: implicit cast from "int" to "uint"
0(128) : error C7011: implicit cast from "int" to "uint"
0(129) : error C7011: implicit cast from "int" to "uint"
0(130) : error C7011: implicit cast from "int" to "uint"
0(131) : error C7011: implicit cast from "int" to "uint"
0(131) : error C7011: implicit cast from "int" to "uint"
0(132) : error C7011: implicit cast from "int" to "uint"
0(133) : error C7011: implicit cast from "int" to "uint"
0(134) : error C7011: implicit cast from "int" to "uint"
0(135) : error C7011: implicit cast from "int" to "uint"
0(136) : error C7011: implicit cast from "int" to "uint"
0(137) : error C7011: implicit cast from "int" to "uint"
0(137) : error C7011: implicit cast from "int" to "uint"
0(138) : error C7011: implicit cast from "int" to "uint"
0(139) : error C7011: implicit cast from "int" to "uint"
0(140) : error C7011: implicit cast from "int" to "uint"
0(141) : error C7011: implicit cast from "int" to "uint"
0(142) : error C7011: implicit cast from "int" to "uint"
0(143) : error C7011: implicit cast from "int" to "uint"
0(143) : error C7011: implicit cast from "int" to "uint"



Output:
Shader source:
/* [config]
 * expect_result: pass
 * glsl_version: 1.30
 * [end config]
 *
 * Check that the following test vectors are constant folded correctly:
 * (-31 << 0u) => -31
 * (-31 << 1u) => -62
 * (-31 << 2u) => -124
 * (-31 << 5u) => -992
 * (-31 << 25u) => -1040187392
 * (-31 << 31u) => -2147483648
 * (-25 << 0u) => -25
 * (-25 << 1u) => -50
 * (-25 << 2u) => -100
 * (-25 << 5u) => -800
 * (-25 << 25u) => -838860800
 * (-25 << 31u) => -2147483648
 * (-5 << 0u) => -5
 * (-5 << 1u) => -10
 * (-5 << 2u) => -20
 * (-5 << 5u) => -160
 * (-5 << 25u) => -167772160
 * (-5 << 31u) => -2147483648
 * (-2 << 0u) => -2
 * (-2 << 1u) => -4
 * (-2 << 2u) => -8
 * (-2 << 5u) => -64
 * (-2 << 25u) => -67108864
 * (-2 << 31u) => 0
 * (-1 << 0u) => -1
 * (-1 << 1u) => -2
 * (-1 << 2u) => -4
 * (-1 << 5u) => -32
 * (-1 << 25u) => -33554432
 * (-1 << 31u) => -2147483648
 * (0 << 0u) => 0
 * (0 << 1u) => 0
 * (0 << 2u) => 0
 * (0 << 5u) => 0
 * (0 << 25u) => 0
 * (0 << 31u) => 0
 * (1 << 0u) => 1
 * (1 << 1u) => 2
 * (1 << 2u) => 4
 * (1 << 5u) => 32
 * (1 << 25u) => 33554432
 * (1 << 31u) => -2147483648
 * (2 << 0u) => 2
 * (2 << 1u) => 4
 * (2 << 2u) => 8
 * (2 << 5u) => 64
 * (2 << 25u) => 67108864
 * (2 << 31u) => 0
 * (5 << 0u) => 5
 * (5 << 1u) => 10
 * (5 << 2u) => 20
 * (5 << 5u) => 160
 * (5 << 25u) => 167772160
 * (5 << 31u) => -2147483648
 * (25 << 0u) => 25
 * (25 << 1u) => 50
 * (25 << 2u) => 100
 * (25 << 5u) => 800
 * (25 << 25u) => 838860800
 * (25 << 31u) => -2147483648
 * (31 << 0u) => 31
 * (31 << 1u) => 62
 * (31 << 2u) => 124
 * (31 << 5u) => 992
 * (31 << 25u) => 1040187392
 * (31 << 31u) => -2147483648
 */
#version 130

void main()
{
  float[(-31 << 0u) == -31 ? 1 : -1] array0;
  float[(-31 << 1u) == -62 ? 1 : -1] array1;
  float[(-31 << 2u) == -124 ? 1 : -1] array2;
  float[(-31 << 5u) == -992 ? 1 : -1] array3;
  float[(-31 << 25u) == -1040187392 ? 1 : -1] array4;
  float[(-31 << 31u) == -2147483648 ? 1 : -1] array5;
  float[(-25 << 0u) == -25 ? 1 : -1] array6;
  float[(-25 << 1u) == -50 ? 1 : -1] array7;
  float[(-25 << 2u) == -100 ? 1 : -1] array8;
  float[(-25 << 5u) == -800 ? 1 : -1] array9;
  float[(-25 << 25u) == -838860800 ? 1 : -1] array10;
  float[(-25 << 31u) == -2147483648 ? 1 : -1] array11;
  float[(-5 << 0u) == -5 ? 1 : -1] array12;
  float[(-5 << 1u) == -10 ? 1 : -1] array13;
  float[(-5 << 2u) == -20 ? 1 : -1] array14;
  float[(-5 << 5u) == -160 ? 1 : -1] array15;
  float[(-5 << 25u) == -167772160 ? 1 : -1] array16;
  float[(-5 << 31u) == -2147483648 ? 1 : -1] array17;
  float[(-2 << 0u) == -2 ? 1 : -1] array18;
  float[(-2 << 1u) == -4 ? 1 : -1] array19;
  float[(-2 << 2u) == -8 ? 1 : -1] array20;
  float[(-2 << 5u) == -64 ? 1 : -1] array21;
  float[(-2 << 25u) == -67108864 ? 1 : -1] array22;
  float[(-2 << 31u) == 0 ? 1 : -1] array23;
  float[(-1 << 0u) == -1 ? 1 : -1] array24;
  float[(-1 << 1u) == -2 ? 1 : -1] array25;
  float[(-1 << 2u) == -4 ? 1 : -1] array26;
  float[(-1 << 5u) == -32 ? 1 : -1] array27;
  float[(-1 << 25u) == -33554432 ? 1 : -1] array28;
  float[(-1 << 31u) == -2147483648 ? 1 : -1] array29;
  float[(0 << 0u) == 0 ? 1 : -1] array30;
  float[(0 << 1u) == 0 ? 1 : -1] array31;
  float[(0 << 2u) == 0 ? 1 : -1] array32;
  float[(0 << 5u) == 0 ? 1 : -1] array33;
  float[(0 << 25u) == 0 ? 1 : -1] array34;
  float[(0 << 31u) == 0 ? 1 : -1] array35;
  float[(1 << 0u) == 1 ? 1 : -1] array36;
  float[(1 << 1u) == 2 ? 1 : -1] array37;
  float[(1 << 2u) == 4 ? 1 : -1] array38;
  float[(1 << 5u) == 32 ? 1 : -1] array39;
  float[(1 << 25u) == 33554432 ? 1 : -1] array40;
  float[(1 << 31u) == -2147483648 ? 1 : -1] array41;
  float[(2 << 0u) == 2 ? 1 : -1] array42;
  float[(2 << 1u) == 4 ? 1 : -1] array43;
  float[(2 << 2u) == 8 ? 1 : -1] array44;
  float[(2 << 5u) == 64 ? 1 : -1] array45;
  float[(2 << 25u) == 67108864 ? 1 : -1] array46;
  float[(2 << 31u) == 0 ? 1 : -1] array47;
  float[(5 << 0u) == 5 ? 1 : -1] array48;
  float[(5 << 1u) == 10 ? 1 : -1] array49;
  float[(5 << 2u) == 20 ? 1 : -1] array50;
  float[(5 << 5u) == 160 ? 1 : -1] array51;
  float[(5 << 25u) == 167772160 ? 1 : -1] array52;
  float[(5 << 31u) == -2147483648 ? 1 : -1] array53;
  float[(25 << 0u) == 25 ? 1 : -1] array54;
  float[(25 << 1u) == 50 ? 1 : -1] array55;
  float[(25 << 2u) == 100 ? 1 : -1] array56;
  float[(25 << 5u) == 800 ? 1 : -1] array57;
  float[(25 << 25u) == 838860800 ? 1 : -1] array58;
  float[(25 << 31u) == -2147483648 ? 1 : -1] array59;
  float[(31 << 0u) == 31 ? 1 : -1] array60;
  float[(31 << 1u) == 62 ? 1 : -1] array61;
  float[(31 << 2u) == 124 ? 1 : -1] array62;
  float[(31 << 5u) == 992 ? 1 : -1] array63;
  float[(31 << 25u) == 1040187392 ? 1 : -1] array64;
  float[(31 << 31u) == -2147483648 ? 1 : -1] array65;
  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() + array18.length() + array19.length() + array20.length() + array21.length() + array22.length() + array23.length() + array24.length() + array25.length() + array26.length() + array27.length() + array28.length() + array29.length() + array30.length() + array31.length() + array32.length() + array33.length() + array34.length() + array35.length() + array36.length() + array37.length() + array38.length() + array39.length() + array40.length() + array41.length() + array42.length() + array43.length() + array44.length() + array45.length() + array46.length() + array47.length() + array48.length() + array49.length() + array50.length() + array51.length() + array52.length() + array53.length() + array54.length() + array55.length() + array56.length() + array57.length() + array58.length() + array59.length() + array60.length() + array61.length() + array62.length() + array63.length() + array64.length() + array65.length());
}

Back to summary