Sign in
dawn
/
dawn
/
3d64565e2eb8fe4a377b18e288edac70d28d586f
/
.
/
test
/
tint
/
expressions
/
binary
/
sub
/
scalar-scalar
/
i32.wgsl.expected.ir.msl
blob: 1a6840238c9ec3e67d6fab3bcb5b9e9c3d3689a3 [
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
)));
}