Sign in
dawn
/
dawn
/
5e7a98c47c53e68e9b23fe463d7f7f4804e5fbf6
/
.
/
test
/
tint
/
expressions
/
binary
/
add
/
scalar-scalar
/
i32.wgsl.expected.msl
blob: 16f8aabf1e7bc7603fdeb7c9b12cea0c5e188ad0 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
f
()
{
int
const
a
=
1
;
int
const
b
=
2
;
int
const
r
=
as_type
<int>
((
as_type
<uint>
(
a
)
+
as_type
<uint>
(
b
)));
}