Sign in
dawn
/
dawn
/
548ee54a9742b6368325414911deef9e21d986ee
/
.
/
test
/
tint
/
statements
/
compound_assign
/
vector
/
and.wgsl.expected.ir.msl
blob: e73ea42a6ec1626d5a308284f54e7e9d09b52c43 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
int4 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
&
int4
(
2
));
}