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