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