Sign in
dawn
/
tint
/
5af571bcbcf424fcc65430f304933c98612adbe1
/
.
/
test
/
statements
/
assign
/
phony
/
multiple_side_effects.wgsl
blob: fcfccd1136a24530bf7ecd3def4724e5c3df372e [
file
] [
log
] [
blame
]
fn f
(
a
:
i32
,
b
:
i32
,
c
:
i32
)
->
i32
{
return
a
*
b
+
c
;
}
[[
stage
(
compute
),
workgroup_size
(
1
)]]
fn main
()
{
_
=
f
(
1
,
2
,
3
)
+
f
(
4
,
5
,
6
)
*
f
(
7
,
f
(
8
,
9
,
10
),
11
);
}