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