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