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