Sign in
dawn
/
tint
/
e2528e92979653f2a2461fe327ca8d59ff227413
/
.
/
test
/
loops
/
nested_loops_with_continuing.wgsl.expected.hlsl
blob: 8d795a846d7bdcf179c85a064995b150fc198f1a [
file
] [
log
] [
blame
]
[
numthreads
(
1
,
1
,
1
)]
void
unused_entry_point
()
{
return
;
}
int
f
()
{
int
i
=
0
;
int
j
=
0
;
[
loop
]
while
(
true
)
{
if
((
i
>
4
))
{
return
1
;
}
[
loop
]
while
(
true
)
{
if
((
j
>
4
))
{
return
2
;
}
{
j
=
(
j
+
1
);
}
}
{
i
=
(
i
+
1
);
}
}
return
0
;
}