Sign in
dawn
/
dawn
/
2710affeaeca38dbaf3039b95903f113de88b11a
/
.
/
test
/
tint
/
statements
/
compound_assign
/
vector
/
and.wgsl.expected.ir.msl
blob: 3ae68c9bc8e0d375fa0c9a8aea0b4925531623ab [
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
));
}