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