Sign in
dawn
/
dawn
/
1ddb39c14b3aff8d9099e75bebb1ed3efa75a46b
/
.
/
test
/
tint
/
loops
/
loop_with_break_if.wgsl.expected.ir.dxc.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
()
{
}