Sign in
dawn
/
dawn
/
3ddc07a18b8a22570ffe1e93f0a11d036462c192
/
.
/
test
/
tint
/
statements
/
compound_assign
/
matrix
/
times-scalar.wgsl.expected.ir.msl
blob: 2a48a72d39a582d0b8e0d8d8b859726c8c522df9 [
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
);
}