Sign in
dawn
/
dawn
/
adaa316da8417eba6b63f981351c2908341b67dc
/
.
/
test
/
tint
/
statements
/
compound_assign
/
scalar
/
or.wgsl.expected.msl
blob: d283099ea38dff2fd9af0a0fe297ce7a44845d69 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
/* 0x0000 */
int
a
;
};
void
foo
(
device S
*
const
tint_symbol
)
{
(*(
tint_symbol
)).
a
=
((*(
tint_symbol
)).
a
|
2
);
}