Sign in
dawn
/
dawn
/
3ff08caa35db539fcc3dded353ec03c9f6a6efe7
/
.
/
test
/
tint
/
statements
/
compound_assign
/
scalar
/
xor.wgsl.expected.ir.msl
blob: bb6a3850b00978efaff2b53d4e902e8b2e541c6f [
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
);
}