Sign in
dawn
/
dawn
/
0f74a3af4075b1f4eb2acf0cc0578e220d1e3fa7
/
.
/
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
;
}