Sign in
dawn
/
dawn
/
65fa98d50f6db634e6ed0bf52056bded862a3955
/
.
/
test
/
tint
/
statements
/
compound_assign
/
vector
/
xor.wgsl.expected.ir.msl
blob: 43d6cd2591e00d79dba5bde4bcf39b6fd20d49e2 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
int4 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
^
int4
(
2
));
}