Sign in
dawn
/
dawn
/
a23bcd8a0caacc5377ace15cf3849fcd0e69ef8f
/
.
/
test
/
tint
/
statements
/
compound_assign
/
scalar
/
plus.wgsl.expected.ir.msl
blob: 9c321ccecc77eb64f99106fa9cfb0cd6529f0963 [
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
);
}