dawn-cmake/test/tint/loops/continue_in_switch.wgsl.exp...

19 lines
287 B
Plaintext
Raw Permalink Normal View History

#include <metal_stdlib>
using namespace metal;
kernel void f() {
for(int i = 0; (i < 4); i = as_type<int>((as_type<uint>(i) + as_type<uint>(1)))) {
switch(i) {
case 0: {
continue;
break;
}
default: {
break;
}
}
}
return;
}