Sign in
dawn
/
dawn
/
001051698e7022fcfa11008e93ffbfa739c23ac1
/
.
/
test
/
tint
/
statements
/
compound_assign
/
scalar
/
and.wgsl.expected.ir.msl
blob: bf21f45f10e4e446fe75e8cedbaf222f115147e3 [
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
);
}