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