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