Sign in
dawn
/
dawn
/
3d64565e2eb8fe4a377b18e288edac70d28d586f
/
.
/
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
;
}