Sign in
dawn
/
dawn
/
eb71c3b697fde359e0002ae73c377f64b1fbb36c
/
.
/
test
/
tint
/
expressions
/
binary
/
sub
/
scalar-scalar
/
i32.wgsl.expected.msl
blob: 4c25a0976427f17507fb1856b6974b0a755e732c [
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
;
}