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