Sign in
dawn
/
dawn
/
7206591c25f02f061b7e8c844cb240bfb69c084c
/
.
/
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
()
{
}