Sign in
dawn
/
dawn
/
3d64565e2eb8fe4a377b18e288edac70d28d586f
/
.
/
test
/
tint
/
expressions
/
binary
/
left-shift
/
vector-vector
/
u32.wgsl.expected.msl
blob: d7b8452a569b6e081d143cc5dc302c63ebaa6e15 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
f
()
{
uint3
const
a
=
uint3
(
1u
,
2u
,
3u
);
uint3
const
b
=
uint3
(
4u
,
5u
,
6u
);
uint3
const
r
=
(
a
<<
(
b
&
uint3
(
31u
)));
return
;
}