Sign in
dawn
/
dawn
/
d5139b44631f52bbae71790fb237cd35bf1db83b
/
.
/
test
/
tint
/
statements
/
compound_assign
/
vector
/
shift_left.wgsl.expected.msl
blob: 84a60be6608661438e8581f1be44d01bff0e4be8 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
/* 0x0000 */
int4 a
;
};
void
foo
(
device S
*
const
tint_symbol
)
{
(*(
tint_symbol
)).
a
=
as_type
<int4>
((
as_type
<uint4>
(
int4
((*(
tint_symbol
)).
a
))
<<
uint4
(
2u
)));
}