Sign in
dawn
/
dawn
/
08f33fe5c6daea5cede4c1a5ac891fd3bf975c31
/
.
/
test
/
tint
/
expressions
/
binary
/
right-shift
/
vector-vector
/
u32.wgsl.expected.msl
blob: fe0ab3d3590ae30a52c9e06e19646aed197f450d [
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
;
}