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