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