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