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