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