Sign in
dawn
/
dawn
/
13798bc31d4de2b3da27e76cdd253c219b3149fb
/
.
/
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
;
}