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