Sign in
dawn
/
tint
/
refs/heads/chromium/4870
/
.
/
test
/
loops
/
loop_with_continuing.wgsl.expected.msl
blob: 52a015b9cc8648a30e3a37fe6e575104eff674e3 [
file
] [
log
] [
blame
] [
edit
]
#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
)));
}
}
}