Sign in
dawn
/
dawn
/
fd73b822f5579e641afd8e240b67dacb841ff092
/
.
/
test
/
tint
/
loops
/
loop_with_continuing.wgsl.expected.msl
blob: 52a015b9cc8648a30e3a37fe6e575104eff674e3 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
int
f
()
{
int
i
=
0
;
while
(
true
)
{
if
((
i
>
4
))
{
return
i
;
}
{
i
=
as_type
<int>
((
as_type
<uint>
(
i
)
+
as_type
<uint>
(
1
)));
}
}
}