Sign in
dawn
/
dawn
/
8a519ac8a9d14535d9fafb4a2c43aa55f651a152
/
.
/
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
;
}