Sign in
dawn
/
dawn
/
8527c135e2d9aade0ea08374f6da72aeba49aa45
/
.
/
test
/
tint
/
loops
/
loop_with_break_if.wgsl.expected.ir.msl
blob: a0cf3dbfe79c68fe1afa28acf2e2a4ca4be3a21f [
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
;
}