Sign in
dawn
/
dawn
/
refs/heads/chromium/6692
/
.
/
test
/
tint
/
statements
/
compound_assign
/
matrix
/
times-scalar.wgsl.expected.ir.msl
blob: 2a48a72d39a582d0b8e0d8d8b859726c8c522df9 [
file
] [
log
] [
blame
] [
edit
]
#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
);
}