Sign in
dawn
/
dawn
/
ce207a7782c4ac883ed464b884ca19967b90b9de
/
.
/
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
));
}