Sign in
dawn
/
dawn
/
6685fff40671ecf3ccef6cc12f1fe59de4459913
/
.
/
test
/
tint
/
statements
/
compound_assign
/
vector
/
or.wgsl.expected.ir.msl
blob: bc93fdcda9f14b8707d7f68ee3ddf19971d438c8 [
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
));
}