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