Sign in
dawn
/
dawn
/
refs/heads/main
/
.
/
test
/
tint
/
expressions
/
binary
/
add
/
scalar-scalar
/
i32.wgsl.expected.msl
blob: e77d38fefe15f5182cadddfc9eee530c3f177c0e [
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
)));
return
;
}