Sign in
dawn
/
dawn
/
a23bcd8a0caacc5377ace15cf3849fcd0e69ef8f
/
.
/
test
/
tint
/
statements
/
assign
/
phony
/
multiple_side_effects.wgsl.expected.ir.msl
blob: 94223e3d04e4e7919038b510f97ffb7155c60c15 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
int
f
(
int
a
,
int
b
,
int
c
)
{
return
((
a
*
b
)
+
c
);
}
kernel
void
tint_symbol
()
{
int
const
v
=
f
(
1
,
2
,
3
);
int
const
v_1
=
f
(
4
,
5
,
6
);
int
const
v_2
=
(
v
+
(
v_1
*
f
(
7
,
f
(
8
,
9
,
10
),
11
)));
}