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