Sign in
dawn
/
dawn
/
91aae5f2b5e883e90bf5965a166bf880aa751515
/
.
/
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
);
}