Sign in
dawn
/
dawn
/
9c9612f6dbc19bdfc9e127966d850cfcd6ce7d1e
/
.
/
test
/
tint
/
loops
/
while_with_continue.wgsl.expected.msl
blob: 7fee4b083deaae084e55ab4bef0e0a08da04d510 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
int
f
()
{
int
i
=
0
;
while
((
i
<
4
))
{
i
=
as_type
<int>
((
as_type
<uint>
(
i
)
+
as_type
<uint>
(
1
)));
continue
;
}
return
i
;
}