Sign in
dawn
/
dawn
/
da2acafcd691e6e6de648a1c7408c6c662cb6943
/
.
/
test
/
tint
/
statements
/
compound_assign
/
vector
/
minus.wgsl.expected.ir.msl
blob: 37ca9b66a9bd597317c64269969f5a21ddb7e72f [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
int4 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
-
int4
(
2
));
}