Sign in
dawn
/
dawn
/
3ddc07a18b8a22570ffe1e93f0a11d036462c192
/
.
/
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
);
}