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