Sign in
dawn
/
dawn
/
982bf996ac2641d7b9163a67f4d17b48ac2153ff
/
.
/
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
;
}
}
}