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

25 lines
348 B
Plaintext
Raw Normal View History

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