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