Sign in
dawn
/
dawn
/
cfb9de24e17f7c24577e6acbbf39325deee3ca25
/
.
/
test
/
tint
/
loops
/
loop.wgsl
blob: 7cca57b935ece86cb846eb9825d8c353d96ff1fa [
file
] [
log
] [
blame
]
fn f
()
->
i32
{
var
i
:
i32
;
loop
{
i
=
i
+
1
;
if
(
i
>
4
)
{
return
i
;
}
}
}
@compute
@workgroup_size
(
1
)
fn main
()
{
_
=
f
();
}