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