Sign in
dawn
/
dawn
/
418e8217f8eef3c39348e42c72ea1bf2661e87c6
/
.
/
test
/
tint
/
statements
/
compound_assign
/
vector
/
minus-scalar.wgsl.expected.ir.msl
blob: e1feff610ad430fc17ef7941884ffadb247b5be4 [
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
);
}