Sign in
dawn
/
dawn
/
9be037cf1bcbd4a37d083d079f4e457e2b7f5182
/
.
/
test
/
tint
/
loops
/
loop_with_break_if.wgsl.expected.ir.msl
blob: 118d54527318b9093b90cdf1e4e1c20e129edfb9 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
int
f
()
{
int
i
=
0
;
{
while
(
true
)
{
if
((
i
>
4
))
{
return
i
;
}
i
=
(
i
+
1
);
if
(
i
==
4
)
{
break
;
}
continue
;
}
}
return
i
;
}