Sign in
dawn
/
dawn
/
3d64565e2eb8fe4a377b18e288edac70d28d586f
/
.
/
test
/
tint
/
expressions
/
unary
/
complement
/
complement.wgsl.expected.msl
blob: 6767a971efe596a434d1c5a4c3a16c74d8e184b0 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
int
i
(
int
x
)
{
return
~(
x
);
}
uint
u
(
uint
x
)
{
return
~(
x
);
}
int4 vi
(
int4 x
)
{
return
~(
x
);
}
uint4 vu
(
uint4 x
)
{
return
~(
x
);
}