Sign in
dawn
/
dawn
/
c87b1fe8c96efd1661551d0e4e87c1ddf5fa0ec3
/
.
/
test
/
tint
/
statements
/
compound_assign
/
scalar
/
shift_right.wgsl.expected.msl
blob: d2f82647395b07d3d51da4c0c10ac48d5646be7d [
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
>>
2u
);
}