blob: 920b432b8954374e80b4c6ccffa95179467f1ac5 [file] [log] [blame]
dan sinclairf148f082022-10-19 15:55:02 +00001@compute @workgroup_size(1)
2fn f() {
3 var i : i32;
4 var result : i32;
5 switch(i) {
6 case 0: {
7 result = 10;
8 }
9 case 1, default: {
10 result = 22;
11 }
12 case 2: {
13 result = 33;
14 }
15 }
16}