Sign in
dawn
/
dawn
/
8094ad137352ceb61fe4a957652cae2390c7ee76
/
.
/
test
/
tint
/
statements
/
compound_assign
/
vector
/
minus-scalar.wgsl.expected.ir.msl
blob: 3906a110c891e25ea2433afe3c8aef30fdd2f9dd [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
float4 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
);
}