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