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