Sign in
dawn
/
dawn
/
388c18448936972281fdb23ffab40e9b593f4660
/
.
/
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
);
}