Sign in
dawn
/
dawn
/
adaa316da8417eba6b63f981351c2908341b67dc
/
.
/
test
/
tint
/
loops
/
loop_with_break_if.wgsl.expected.ir.fxc.hlsl
blob: 78a81848cd0b3201d42923bc9057ab5c1787e7fa [
file
] [
log
] [
blame
]
int
f
()
{
int
i
=
0
;
{
while
(
true
)
{
if
((
i
>
4
))
{
return
i
;
}
{
i
=
(
i
+
1
);
if
((
i
==
4
))
{
break
;
}
}
continue
;
}
}
return
i
;
}
[
numthreads
(
1
,
1
,
1
)]
void
unused_entry_point
()
{
}