Sign in
dawn
/
dawn
/
refs/heads/chromium/6431
/
.
/
test
/
tint
/
loops
/
nested_loops.wgsl.expected.wgsl
blob: 97c8060fb2e4af262a719b93eaeea9e3f24deaf8 [
file
] [
log
] [
blame
]
Ben Clayton
def7313
2021-06-21 19:04:56 +0000
[
diff
] [
blame
]
1
fn f
()
->
i32
{
2
var
i
:
i32
;
3
var
j
:
i32
;
4
loop
{
5
i
=
(
i
+
1
);
6
if
((
i
>
4
))
{
7
return
1
;
8
}
9
loop
{
10
j
=
(
j
+
1
);
11
if
((
j
>
4
))
{
12
return
2
;
13
}
14
}
15
}
Ben Clayton
def7313
2021-06-21 19:04:56 +0000
[
diff
] [
blame
]
16
}