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