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