Sign in
dawn
/
dawn
/
bbc1c23376fc192b08674fb7cb11fcefa18d1ac8
/
.
/
test
/
tint
/
loops
/
loop_with_break_if.wgsl
blob: d97cc693e31282ad9cc537486e4e7f82c1fc998d [
file
] [
log
] [
blame
]
fn f
()
->
i32
{
var
i
:
i32
;
loop
{
if
(
i
>
4
)
{
return
i
;
}
continuing
{
i
=
i
+
1
;
break
if
i
==
4
;
}
}
return
i
;
}