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