Sign in
dawn
/
dawn
/
d839909be69f252f7a4b42309a429208baaf2b76
/
.
/
test
/
tint
/
statements
/
compound_assign
/
scalar
/
minus.wgsl.expected.ir.msl
blob: 3a124e07bc4c5663cfea2e440f2aa6382834c37f [
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
);
}