Sign in
dawn
/
dawn
/
5580f09a1ca57723c7ac16f0eb827ab40d53bd11
/
.
/
test
/
tint
/
loops
/
continue_in_switch_with_breakif_robustness.wgsl
blob: 7e91c7ed9b15f58e957b254f826cceec9367a1f9 [
file
] [
log
] [
blame
]
// flags: --transform robustness
@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
;
}
}
}