Sign in
dawn
/
dawn
/
66652df8e490b60edeb974fa4500a956723ed206
/
.
/
test
/
tint
/
statements
/
compound_assign
/
scalar
/
shift_right.wgsl.expected.ir.msl
blob: ff224e868e11c3a96e8ac222642a74efe819bf89 [
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
));
}