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