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