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