Sign in
dawn
/
dawn
/
d547c115ac17b7586b7b215a482072c194ab2dbe
/
.
/
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
)));
}
}
}