Sign in
dawn
/
dawn
/
548ee54a9742b6368325414911deef9e21d986ee
/
.
/
test
/
tint
/
statements
/
compound_assign
/
scalar
/
plus.wgsl.expected.ir.msl
blob: 2db63be9fddddffe862603ec5eb30167c800c236 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
int
a
;
};
struct
tint_module_vars_struct
{
device S
*
v
;
};
void
foo
(
tint_module_vars_struct tint_module_vars
)
{
(*
tint_module_vars
.
v
).
a
=
((*
tint_module_vars
.
v
).
a
+
2
);
}