Sign in
dawn
/
dawn
/
7ab964aa333f50c5f0d7b4c60d7f17637825e247
/
.
/
test
/
tint
/
statements
/
compound_assign
/
matrix
/
times-scalar.wgsl.expected.ir.msl
blob: 910b96bfc8ce3b820c63bef4586efa49a25d33fe [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
float4x4 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.0f
);
}