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