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

26 lines
349 B
Plaintext
Raw Normal View History

#version 310 es
precision mediump float;
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void f() {
{
for(int i = 0; (i < 4); i = (i + 1)) {
switch(i) {
case 0: {
continue;
break;
}
default: {
break;
}
}
}
}
return;
}
void main() {
f();
}