Sign in
dawn
/
dawn
/
331a3b7980ccd21ec06888acf6acbba934cddde0
/
.
/
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
;
}