Sign in
dawn
/
dawn
/
1ddb39c14b3aff8d9099e75bebb1ed3efa75a46b
/
.
/
test
/
tint
/
loops
/
continue_in_switch_with_breakif.wgsl
blob: 0b65b9c08a803a7aadb3f1c6e04703e1a4aa6453 [
file
] [
log
] [
blame
]
@compute
@workgroup_size
(
1
)
fn f
()
{
var
i
:
i32
=
0
;
loop
{
switch
(
i
)
{
case
0
:
{
continue
;
}
default
:{
break
;
}
}
continuing
{
i
=
i
+
1
;
break
if
i
>=
4
;
}
}
}