Sign in
dawn
/
dawn
/
d839909be69f252f7a4b42309a429208baaf2b76
/
.
/
test
/
tint
/
statements
/
compound_assign
/
scalar
/
or.wgsl.expected.ir.msl
blob: 07549aff1289c03bda56ee0d2b09fea33985ec1e [
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
);
}