Sign in
dawn
/
dawn
/
9c9612f6dbc19bdfc9e127966d850cfcd6ce7d1e
/
.
/
test
/
tint
/
loops
/
loop_with_break_if.wgsl.expected.wgsl
blob: 71a6c029b71ebecc37b2b3f2c422d5616b3eff1f [
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
;
}