Sign in
dawn
/
tint
/
066c17585214eb705d2f48b56b864c2f5a2164b0
/
.
/
test
/
loops
/
loop_with_continuing.wgsl.expected.msl
blob: c99f6f82a92bd98c0dbd57f53fb21f59892d7dcf [
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
)));
}
}
return
0
;
}