Sign in
dawn
/
dawn
/
a8eb33756b228cf587ed065c0144e306def8f902
/
.
/
test
/
tint
/
statements
/
compound_assign
/
vector
/
times-scalar.wgsl.expected.ir.msl
blob: 249cf11bcfcb652002a38bb3077ffa460138dee2 [
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
);
}