Sign in
dawn
/
dawn
/
91aae5f2b5e883e90bf5965a166bf880aa751515
/
.
/
test
/
tint
/
statements
/
compound_assign
/
scalar
/
shift_right.wgsl.expected.ir.msl
blob: 06a866e1e297e5d0b426d34a271a16b91993c185 [
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
>>
(
2u
&
31u
));
}