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