Sign in
dawn
/
dawn
/
271cb0571c5ebcc013f2c1b095112fe70fc669b5
/
.
/
test
/
tint
/
loops
/
loop_with_break_if.wgsl.expected.fxc.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
;
}