Sign in
dawn
/
dawn
/
3e01ddbb5c7e8f0bc03965a1497a6c7276e1ed24
/
.
/
test
/
tint
/
expressions
/
binary
/
left-shift
/
scalar-scalar
/
u32.wgsl.expected.msl
blob: 389cde860a9a45fcf5d8dc2061b3063db86bc9bf [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
f
()
{
uint
const
a
=
1u
;
uint
const
b
=
2u
;
uint
const
r
=
(
a
<<
(
b
&
31u
));
return
;
}